diff options
Diffstat (limited to 'main/acf-core')
-rw-r--r-- | main/acf-core/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/acf-core/APKBUILD b/main/acf-core/APKBUILD index 9f3714b673..9453f163c7 100644 --- a/main/acf-core/APKBUILD +++ b/main/acf-core/APKBUILD @@ -1,8 +1,9 @@ # Contributor: Ted Trask <ttrask01@yahoo.com> # Maintainer: Ted Trask <ttrask01@yahoo.com> +_luaversions="5.1 5.2" pkgname=acf-core pkgver=0.18.5 -pkgrel=0 +pkgrel=1 pkgdesc="A web-based system administration interface framework" url="http://git.alpinelinux.org/cgit/acf-core" arch="noarch" @@ -13,7 +14,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 mkdir -p "$pkgdir"/etc/acf/skins } md5sums="0f097c3b40277f35d89fce7f482ac5f7 acf-core-0.18.5.tar.xz" |