summaryrefslogtreecommitdiffstats
path: root/main/lua-json4/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-json4/APKBUILD')
-rw-r--r--main/lua-json4/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/lua-json4/APKBUILD b/main/lua-json4/APKBUILD
new file mode 100644
index 000000000..4e8efdab3
--- /dev/null
+++ b/main/lua-json4/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lua-json4
+_name=json4lua
+pkgver=0.9.20
+pkgrel=0
+pkgdesc="JSON encoding / decoding module for Lua (JSON4lua)"
+url="http://json.luaforge.net/"
+license="GPL-2"
+depends="lua"
+source="http://luaforge.net/frs/download.php/1375/JSON4Lua-$pkgver.zip"
+replaces="json4lua"
+
+build() {
+ # do nothing, but keep it to make abuild happy
+ :
+}
+
+package() {
+ install -D "$srcdir"/json/json.lua "$pkgdir"/usr/share/lua/5.1/json.lua
+}
+
+md5sums="0a2071a24d7752f52d5cc9cac8800743 JSON4Lua-0.9.20.zip"