aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-lib/APKBUILD
blob: d8cd888e0dd4b5b157cf4ddf60e4a1ae57622be1 (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.8.1
pkgrel=0
pkgdesc="Lua libraries for ACF"
url="http://git.alpinelinux.org/cgit/acf-lib"
arch="noarch"
license="GPL2"
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="fe51c8849e501908b3768228d59f8828  acf-lib-0.8.1.tar.xz"
sha256sums="123f7bdb386c6dd0428b347c34132f63ea62e753e093a6187294b71cdbfd169f  acf-lib-0.8.1.tar.xz"
sha512sums="059c802c3fc2a0ab0f50e443b5c326cb5735f08b260c87e7ec7d047b027424bca5983781392a8f50c2c27df89e9ef56d3d30c2edb7b706cf9785d002d9c5a0e3  acf-lib-0.8.1.tar.xz"