# Contributor: Ted Trask # Maintainer: Ted Trask _luaversion=5.2 pkgname=acf-provisioning pkgver=0.9.3 pkgrel=0 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="509c06065e1a0103a1e8a12e2da91e18 acf-provisioning-0.9.3.tar.xz" sha256sums="619ab1fdb13865a6bf4ecf7570089130be919575cb7067830e1eed096be7b5d5 acf-provisioning-0.9.3.tar.xz" sha512sums="d7883c3858baa3d9cf10e167bfa3d465298a2004cdad4c91263182ea847b2a70976c82cb3e0fad1568ebb8db037183d0ab9a429d3decc8490a24b7ba777ebf6c acf-provisioning-0.9.3.tar.xz"