blob: 3dbe0061ed241797d84451bb9dd07103e33688d3 (
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
43
44
45
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.11.2
pkgrel=3
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
depends="openrc"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
0001-lbu-do-not-use-xargs.patch
0001-lbu-check-permissions-when-generating-apkovl.patch
0001-setup-xen-dom0-update-to-upcoming-4.2.patch
"
arch="all"
license="GPL-2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
msg "Applying $i"
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
}
build() {
cd "$_builddir"
make VERSION=$pkgver-r$pkgrel || return 1
}
package() {
cd "$_builddir"
make install PREFIX= DESTDIR="$pkgdir"
for i in commit exclude include status update; do
ln -s lbu "$pkgdir"/sbin/lbu_$i
done
}
md5sums="47e37f6211817acc12aa637798da0437 alpine-conf-2.11.2.tar.bz2
a49569f9eb9bfa630efaca4988bde07c 0001-lbu-do-not-use-xargs.patch
97db0e60d1fd534a613e3d6cbca23a14 0001-lbu-check-permissions-when-generating-apkovl.patch
f2f36e9b99c6102c0acc9978d049be2d 0001-setup-xen-dom0-update-to-upcoming-4.2.patch"
|