aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua5.2-json4
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-06-25 06:59:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-25 07:00:44 +0000
commitd470b0145b44d801ee78606a6428135f228e5ee1 (patch)
tree04324798c7a38cd55686e5186887c2b90d2cd0c1 /testing/lua5.2-json4
parentebeb139f5cf016e3f5842466a17e9f3ab15fea31 (diff)
downloadaports-d470b0145b44d801ee78606a6428135f228e5ee1.tar.bz2
aports-d470b0145b44d801ee78606a6428135f228e5ee1.tar.xz
testing/lua5.2-json4: new aport
JSON encoding / decoding module for Lua 5.2 (JSON4lua) http://json.luaforge.net/
Diffstat (limited to 'testing/lua5.2-json4')
-rw-r--r--testing/lua5.2-json4/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/lua5.2-json4/APKBUILD b/testing/lua5.2-json4/APKBUILD
new file mode 100644
index 0000000000..bd88f09159
--- /dev/null
+++ b/testing/lua5.2-json4/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_luaver=5.2
+pkgname=lua${_luaver}-json4
+_name=json4lua
+pkgver=0.9.50
+pkgrel=0
+pkgdesc="JSON encoding / decoding module for Lua $_luaver (JSON4lua)"
+url="http://json.luaforge.net/"
+arch="noarch"
+license="GPL-2"
+depends="lua"
+source="http://files.luaforge.net/releases/json/json/$pkgver/json4lua-$pkgver.zip"
+
+build() {
+ return 0
+}
+
+package() {
+ install -D "$srcdir"/$_name-$pkgver/json/json.lua "$pkgdir"/usr/share/lua/${_luaver}/json.lua
+}
+
+md5sums="d04a44972ec697a14e89b3a7f14c2d29 json4lua-0.9.50.zip"
+sha256sums="9565ebd1b0a95d84915221f2f401f913de92e7135c6d6ebdb38eff636a934ef1 json4lua-0.9.50.zip"
+sha512sums="7cfe0f68eea2e40e59f45359e1e867fb8aa306bdc211be3596ba6c2718687401564f365975cbbbce3d05e76bde46a42303c37a2b320ffa77212902465fac0ae6 json4lua-0.9.50.zip"