Commit b7de3042 authored by Ted Trask's avatar Ted Trask

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

parent 1910a57d
# 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"
......
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