aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-redis
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-22 17:00:34 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-22 17:00:34 +0000
commitb55612c5aca4ae839bea079464d76a107003ef67 (patch)
tree6520f468b7531af8d3031afcafbcc8773ebc96dd /community/lua-redis
parent69e58f37415bf10ad2431673cb3f7e640d9c0eba (diff)
downloadaports-b55612c5aca4ae839bea079464d76a107003ef67.tar.bz2
aports-b55612c5aca4ae839bea079464d76a107003ef67.tar.xz
community/lua-redis: fix source
Diffstat (limited to 'community/lua-redis')
-rw-r--r--community/lua-redis/APKBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/community/lua-redis/APKBUILD b/community/lua-redis/APKBUILD
index 8e651c3e38..4dafc27144 100644
--- a/community/lua-redis/APKBUILD
+++ b/community/lua-redis/APKBUILD
@@ -18,13 +18,15 @@ for _i in $_luaversions; do
subpackages="$subpackages lua$_i-redis:split_${_i/./_}"
done
-source="https://github.com/nrk/$_pkgname/archive/version-2.0.zip"
-_builddir="$srcdir"/$_pkgname-version-2.0
+source="$pkgname-$pkgver.tar.gz::https://github.com/nrk/redis-lua/archive/v$pkgver.tar.gz"
+
+builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
- cd "$_builddir"
- for _i in $_luaversions; do
- cp -r "$_builddir" "$srcdir"/build-$_i
+ cd "$builddir"
+ default_prepare || return 1
+ for _i in $_luaversions; do
+ cp -r "$builddir" "$srcdir"/build-$_i
done
}
@@ -33,7 +35,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
for _i in $_luaversions; do
cd "$srcdir"/build-$_i
local _luadir="$pkgdir"/usr/share/lua/$_i
@@ -59,6 +61,6 @@ for _i in $_luaversions; do
eval "split_${_i/./_}() { _split $_i; }"
done
-md5sums="ab472a35cf5caa1957134b097ea01c2b version-2.0.zip"
-sha256sums="221d4583307fd0d5635c63f2c8d5d4e90a96ce473d8ae6b27783dceb1066cbd4 version-2.0.zip"
-sha512sums="8ba12b03201e9871da2cdf013c6e3d7f65201963f805ac64e8ba4319cc0b188a0d542ef037952a90c1d7950e927c0d7b2904c2eb8f4aa9e7f5d995b94953c979 version-2.0.zip"
+md5sums="9fcc177ebb2ce936c178231ba445fb62 lua-redis-2.0.4.tar.gz"
+sha256sums="5eb6cb7cd0eda659cef7c231e43cd5f491cbd04804034d1c80134a1604e5cb5e lua-redis-2.0.4.tar.gz"
+sha512sums="8e1266601881b0404aa1d771acc486b09a3752f901d4eec04c40912556d2ffe6eb24045d257193c7229fdfa48530a754ce267466f258a9618a30e3ab7ba9e1bc lua-redis-2.0.4.tar.gz"