aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/lua-json4/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/lua-json4/APKBUILD b/main/lua-json4/APKBUILD
index 332f49ad34..523488799b 100644
--- a/main/lua-json4/APKBUILD
+++ b/main/lua-json4/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-json4
_name=json4lua
-pkgver=0.9.20
-pkgrel=1
+pkgver=0.9.50
+pkgrel=0
pkgdesc="JSON encoding / decoding module for Lua (JSON4lua)"
url="http://json.luaforge.net/"
-arch="all"
+arch="noarch"
license="GPL-2"
depends="lua"
-source="http://luaforge.net/frs/download.php/1375/JSON4Lua-$pkgver.zip"
+source="http://files.luaforge.net/releases/json/json/$pkgver/json4lua-$pkgver.zip"
replaces="json4lua"
build() {
@@ -17,7 +17,10 @@ build() {
}
package() {
- install -D "$srcdir"/json/json.lua "$pkgdir"/usr/share/lua/5.1/json.lua
+ install -D "$srcdir"/json4lua-$pkgver/json/json.lua \
+ "$pkgdir"/usr/share/lua/5.1/json.lua
}
-md5sums="0a2071a24d7752f52d5cc9cac8800743 JSON4Lua-0.9.20.zip"
+md5sums="d04a44972ec697a14e89b3a7f14c2d29 json4lua-0.9.50.zip"
+sha256sums="9565ebd1b0a95d84915221f2f401f913de92e7135c6d6ebdb38eff636a934ef1 json4lua-0.9.50.zip"
+sha512sums="7cfe0f68eea2e40e59f45359e1e867fb8aa306bdc211be3596ba6c2718687401564f365975cbbbce3d05e76bde46a42303c37a2b320ffa77212902465fac0ae6 json4lua-0.9.50.zip"