blob: 9c3233d815792218c53b4846e2c1dba145bcdefa (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=acf2
pkgver=0.2.0
pkgrel=0
pkgdesc="Alpine Configuration Framework, 2nd generation"
url="http://git.alpinelinux.org/cgit/kunkku/acf2/"
arch="noarch"
license="BSD"
depends="lua5.2-augeas lua5.2-cjson lua5.2-crypto lua5.2-openrc lua5.2-posix \
lua5.2-stringy uwsgi uwsgi-lua"
makedepends=""
source="${url}snapshot/${pkgname}-${pkgver}.tar.bz2 $pkgname.initd"
_builddir=$srcdir/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
return 0
}
package() {
cd "$_builddir"
make ROOT_DIR=$pkgdir install || return 1
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
}
md5sums="3d6526446b570e0049ad1b41765d2c02 acf2-0.2.0.tar.bz2
23fd4825db4365e646dbbf7a235db5f5 acf2.initd"
sha256sums="8fcc6458f2540a3357ba09c72bf0d967c6f2ddd6d9bc5429d277fce53937f1ba acf2-0.2.0.tar.bz2
c1fa434a9b75ea10e9d0c3d48ec27c4dff2613e413d154486122ce9c1f011e23 acf2.initd"
sha512sums="47ee2d8444ee90e50f59b9d31680014282de8da4cbcb9444be6280eb472473eb9b6eaecf2495eefe6dc0de93d198aab92349d396644a7f999ecd64a7e9377a2f acf2-0.2.0.tar.bz2
6db21a9a4aa83c9ad75d1cf026d7e270ef38dce43a5aa340b61c149eb261e5bc587a282566fedc0cf96044425f49448eba8f37e1a7be96cda1a8369c2d831ada acf2.initd"
|