aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-xctrl
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-28 13:04:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-28 13:04:50 +0000
commita1ca9675abd7c94d042a5997914c988b52d9a504 (patch)
treea75ed033420954dd5fcc899fde3a110b38cab35d /main/lua-xctrl
parent07c5e8c6fc77dd833bbd310e514006c2d003c52a (diff)
downloadaports-a1ca9675abd7c94d042a5997914c988b52d9a504.tar.bz2
aports-a1ca9675abd7c94d042a5997914c988b52d9a504.tar.xz
main/lua-xctrl: use tar.gz and fix name of source archive
Diffstat (limited to 'main/lua-xctrl')
-rw-r--r--main/lua-xctrl/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/main/lua-xctrl/APKBUILD b/main/lua-xctrl/APKBUILD
index b407521e2c..7bae7217ad 100644
--- a/main/lua-xctrl/APKBUILD
+++ b/main/lua-xctrl/APKBUILD
@@ -20,26 +20,26 @@ for _i in $_luaversions; do
done
install=
subpackages="$pkgname-doc"
-source="https://github.com/yetanothergeek/xctrl/archive/$pkgver.zip"
+source="$pkgname-$pkgver.tar.gz::https://github.com/yetanothergeek/xctrl/archive/$pkgver.tar.gz"
-_builddir="$srcdir"/xctrl-$pkgver
+builddir="$srcdir"/xctrl-$pkgver
_lua_libdir=/usr/lib/lua/5.1
prepare() {
- cd "$_builddir"
+ cd "$builddir"
}
build() {
for _i in $_luaversions; do
msg "Build for Lua $_i"
- cd "$_builddir"
+ cd "$builddir"
export EXTRA_CFLAGS="-fPIC"
make LUAPKG="lua$_i" || return 1
done
}
package() {
- cd "$_builddir"
+ cd "$builddir"
for _i in $_luaversions; do
install -d "$pkgdir"/usr/lib/lua/$_i "$pkgdir"/usr/share/doc/$pkgname
install src/xctrl.so "$pkgdir"/usr/lib/lua/$_i/xctrl.so
@@ -60,6 +60,4 @@ for _v in $_luaversions; do
eval "split_${_v/./_}() { _split $_v; }"
done
-md5sums="36592eb03c8a30cfbaa6c3f420ca9033 2015.04.10.zip"
-sha256sums="f1c8b5283580ff5a1b1fa33ca44463f1e63ee0f9219e516e81d9285bd9fe1ea2 2015.04.10.zip"
-sha512sums="4121afe03a6cd0491043d919e8765d8034852db347004b112fc3922ffea4a6dd79b19e40a9650ae114ce2cb067c356adb0abc60389e462e0db27cca9d2f6996e 2015.04.10.zip"
+sha512sums="11a48641ebc71ab56201a707b844ee0d0475167fe4f4bd96f4d8296db00dc806c6d3889a5447bb41cec787b0de6d0351f77b45a8505fac5a5e184e3b80482acb lua-xctrl-2015.04.10.tar.gz"