blob: c1e89eff850eed06c96f28c2c5a162333b4ff73c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
_luaversion=5.2
pkgname=acf-provisioning
pkgver=0.8.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 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="26f434c9e1f6616f68dadbc54a184678 acf-provisioning-0.8.3.tar.xz"
sha256sums="8a7a7c4aa43f0cb2a359b37c6c0a8234ec3e49fca219e0f22143444a3241e206 acf-provisioning-0.8.3.tar.xz"
sha512sums="b1c532ce68c68ede825ae29376a4c764b6b881f6909ef859345c6a144b750713581f1a842d880df6b3c12775b5f3078190d21441c25c1b119cf71aa0e7a1427a acf-provisioning-0.8.3.tar.xz"
|