Commit 1910a57d authored by Ted Trask's avatar Ted Trask

main/acf-core: Temporary patch to install for both Lua 5.1 and 5.2

parent 3ceccb89
# 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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment