aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-lib/APKBUILD
blob: c0f6a662688a862f871700f56348d01632eb6b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
_luaversions="5.1 5.2"
pkgname=acf-lib
pkgver=0.7.3
pkgrel=1
pkgdesc="Lua libraries for ACF"
url="http://git.alpinelinux.org/cgit/acf-lib"
arch="noarch"
license="GPL-2"
depends="lua-subprocess"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"

package() {
	cd "$srcdir/$pkgname-$pkgver"
	for _i in $_luaversions; do
		sed "s~luadir=.*~luadir=\${prefix}/share/lua/$_i/acf~" -i config.mk
		make DESTDIR="$pkgdir" install
	done
}
md5sums="0e2173648f983f24e6bc88fb7289f6bb  acf-lib-0.7.3.tar.xz"
sha256sums="ae16a0c54832a77448315dcf1708d21e374046de3d219b96376eb2a7cce3c1f1  acf-lib-0.7.3.tar.xz"
sha512sums="95f1c70a2b4dfa22a3d044b9511a20b04e21e45ca206cfd5a4929f92280af3fff30a36807124c166c1700a07f2bec5b6112e62757619313ab1e88cdb3973e5d5  acf-lib-0.7.3.tar.xz"