# Contributor: Ted Trask # Maintainer: Ted Trask _luaversion=5.2 pkgname=acf-provisioning pkgver=0.10.1 pkgrel=3 pkgdesc="ACF for provisioning templated configs to devices" url="https://gitlab.alpinelinux.org/acf/acf-provisioning" arch="noarch" license="GPL-2.0-only" options="!check" # no test suite depends="acf-core lua-sql-postgres postgresql-client lua-posixtz lua-luaxml" source="https://gitlab.alpinelinux.org/acf/acf-provisioning/-/archive/v$pkgver/acf-provisioning-v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$pkgver" package() { # fix shebang sed -i -e "1s:#!/usr/bin/haserl :#!/usr/bin/haserl-lua$_luaversion :" \ cgi-bin/provisioning.cgi make DESTDIR="$pkgdir" install } sha512sums=" 78251cf03433fde66ffda4a03579a145aa2a08a4632f9e6bc9668d68d6e2f769ef66d69fe40f6b5938f28bbfcdc171147d4243f16a0f7d35b939da16f2f0cee7 acf-provisioning-v0.10.1.tar.gz "