blob: f4f882cab8481aca74efee428f5bb4c21f6833dc (
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.0
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="a2db89a32e091cb47c868642c6ba0712 acf-lib-0.8.0.tar.xz"
sha256sums="18c33e7919333a38fd2237128de93dcb9e9c3feb6dfb846a96a6aad01cf92ba0 acf-lib-0.8.0.tar.xz"
sha512sums="b84e59a34463480121f1337a86f2aff7e833a5c00fe869688fece84e5ce1625344dcc5c5c60e8f352ca54258be1144189f8cbe81dbd642d03039697f2821c323 acf-lib-0.8.0.tar.xz"
|