blob: d7f4516fcd1dec0bc55fea87d941d50ed0b56571 (
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.1.0
pkgrel=1
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-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="1f145950bca9989cf2dfb44813123da0 acf2-0.1.0.tar.bz2
23fd4825db4365e646dbbf7a235db5f5 acf2.initd"
sha256sums="10acb58153af351561033bf78938e33b19ae94387c8e8b1e1a075f88461498e9 acf2-0.1.0.tar.bz2
c1fa434a9b75ea10e9d0c3d48ec27c4dff2613e413d154486122ce9c1f011e23 acf2.initd"
sha512sums="fa4a027cd446c61a419c96a1b9e5306e064a97f5106302438bbb9e3cded1cecb505f4d5807577dee1cf8cb3b3aecddf2cf9be3b6e3e4733d917ffc95accf996a acf2-0.1.0.tar.bz2
6db21a9a4aa83c9ad75d1cf026d7e270ef38dce43a5aa340b61c149eb261e5bc587a282566fedc0cf96044425f49448eba8f37e1a7be96cda1a8369c2d831ada acf2.initd"
|