aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/lua-json/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/lua-json/APKBUILD b/testing/lua-json/APKBUILD
new file mode 100644
index 0000000000..426570b1f9
--- /dev/null
+++ b/testing/lua-json/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lua-json
+pkgver=20111207.5
+pkgrel=0
+pkgdesc="Simple JSON encoding and decoding in pure Lua"
+url="http://regex.info/blog/lua/json"
+arch="noarch"
+license="AS-IS"
+depends="lua"
+makedepends="lua-dev"
+install=""
+subpackages=""
+source="http://regex.info/code/JSON.lua"
+
+build() {
+ return 0
+}
+
+package() {
+ local _lmoddir=$(pkg-config --variable=INSTALL_LMOD lua)
+ install -Dm644 "$srcdir"/JSON.lua "${pkgdir}$_lmoddir"/JSON.lua
+}
+
+md5sums="8ccd1082b85e3e5dfc5182f0151d9685 JSON.lua"