aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-provisioning
diff options
context:
space:
mode:
Diffstat (limited to 'main/acf-provisioning')
-rw-r--r--main/acf-provisioning/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/acf-provisioning/APKBUILD b/main/acf-provisioning/APKBUILD
index 1d9f6c4f3c..da43822229 100644
--- a/main/acf-provisioning/APKBUILD
+++ b/main/acf-provisioning/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
+_luaversion=5.2
pkgname=acf-provisioning
pkgver=0.6.1
-pkgrel=0
+pkgrel=1
pkgdesc="ACF for provisioning templated configs to devices"
url="http://git.alpinelinux.org/cgit/acf-provisioning"
arch="noarch"
@@ -15,6 +16,11 @@ 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
}