From a1ca9675abd7c94d042a5997914c988b52d9a504 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 28 Apr 2017 13:04:50 +0000 Subject: main/lua-xctrl: use tar.gz and fix name of source archive --- main/lua-xctrl/APKBUILD | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'main/lua-xctrl/APKBUILD') 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" -- cgit v1.2.3