aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/acf-lib/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/acf-lib/APKBUILD b/main/acf-lib/APKBUILD
index 82801a3c57..88cee03cc1 100644
--- a/main/acf-lib/APKBUILD
+++ b/main/acf-lib/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
+_luaversions="5.1 5.2"
pkgname=acf-lib
pkgver=0.7.2
-pkgrel=0
+pkgrel=1
pkgdesc="Lua libraries for ACF"
url="http://git.alpinelinux.org/cgit/acf-lib"
arch="noarch"
@@ -12,7 +13,10 @@ source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ for _i in $_luaversions; do
+ sed "s~luadir=.*~luadir=\${prefix}/share/lua/$_i/acf~" -i config.mk
+ make DESTDIR="$pkgdir" install
+ done
}
md5sums="25fb1ecf484a76557cac5eb7839e0bc5 acf-lib-0.7.2.tar.xz"
sha256sums="e62b5f103d06035016695b06fbcb95671abe07c3b998e44e9b0618321ecf1d16 acf-lib-0.7.2.tar.xz"