aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-01-12 16:51:57 +0000
committerTed Trask <ttrask01@yahoo.com>2015-01-12 16:51:57 +0000
commit1910a57d42fdaded5a8c39f969466c1d285ee238 (patch)
treebfeb5c5fd31d7057abbabed4a351cf2fbd24a03c /main
parent3ceccb8924934fb12384faac304268e91b5afefd (diff)
downloadaports-1910a57d42fdaded5a8c39f969466c1d285ee238.tar.bz2
aports-1910a57d42fdaded5a8c39f969466c1d285ee238.tar.xz
main/acf-core: Temporary patch to install for both Lua 5.1 and 5.2
Diffstat (limited to 'main')
-rw-r--r--main/acf-core/APKBUILD8
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"