# Contributor: Ted Trask # Maintainer: Ted Trask _luaversion=5.2 pkgname=acf-provisioning pkgver=0.8.2 pkgrel=0 pkgdesc="ACF for provisioning templated configs to devices" url="http://git.alpinelinux.org/cgit/acf-provisioning" arch="noarch" license="GPL-2" depends="acf-core lua lua-sql-postgres postgresql-client lua-posixtz" 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="844467696b64f05d179568afbb9b492d acf-provisioning-0.8.2.tar.xz" sha256sums="ce88fc4bdfd749e1c04b239b9d092ed9940fa1dd1aeab6dd01d39c2f261b362a acf-provisioning-0.8.2.tar.xz" sha512sums="f44a32725eb93c88ca04f590de2c572d2e968a976cbde4e6159093249cd67401f1421afaf53499ba0aa4a12ed24ef6da725fce1a2988d2b331fe9bc4b27ac513 acf-provisioning-0.8.2.tar.xz"