# Contributor: Ted Trask # Maintainer: Ted Trask _luaversion=5.2 pkgname=acf-provisioning pkgver=0.9.0 pkgrel=2 pkgdesc="ACF for provisioning templated configs to devices" url="http://git.alpinelinux.org/cgit/acf-provisioning" arch="noarch" license="GPL2" depends="acf-core lua-sql-postgres postgresql-client lua-posixtz lua-xml" makedepends="" install="" subpackages="" source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz" package() { cd "$srcdir"/$pkgname-$pkgver # fix shebang sed -i -e "1s:#!/usr/bin/haserl :#!/usr/bin/haserl-lua$_luaversion :" \ cgi-bin/provisioning.cgi || return 1 make DESTDIR="$pkgdir" install } md5sums="07e6d84aa9fb3f84b2a7af31e2d49100 acf-provisioning-0.9.0.tar.xz" sha256sums="df8a5a67fe9ad2b032a68cd1981c363968e483b1cad0a9eb531195fcb4986859 acf-provisioning-0.9.0.tar.xz" sha512sums="1f6cbb3e98bc9ad26eec2275d1e8dd0d3b7033bc4d222a4fda75452f51314c25287a78c239b52a8fbf436afc7967f82684409e5a7303bf653ebfbf304fe4890f acf-provisioning-0.9.0.tar.xz"