blob: b9a5c5925336081592f63f035d4580182cc8dbfa (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.0.3
pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
arch="all"
license="GPL2"
depends="openrc"
source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz
0001-setup-apkrepos-allow-specify-the-repos-from-cmdline.patch
"
_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() {
cd "$_builddir"
make VERSION=$pkgver-r$pkgrel || return 1
}
package() {
cd "$_builddir"
make install PREFIX= DESTDIR="$pkgdir" || return 1
for i in commit exclude include status update; do
ln -s lbu "$pkgdir"/sbin/lbu_$i
done
}
md5sums="c62e9abfb7cb0295de6588ccf87faf19 alpine-conf-3.0.3.tar.xz
b0e80f8bb36976b014542459bb02683a 0001-setup-apkrepos-allow-specify-the-repos-from-cmdline.patch"
sha256sums="0b7b5a55648054a9eb885bfffe9c80d4c7170cf29455b16d916115e06ad2eaf7 alpine-conf-3.0.3.tar.xz
eb04470103e66ebe4bf18782775ad80e041e1e3ca6bef3dc9a87ef524f9434df 0001-setup-apkrepos-allow-specify-the-repos-from-cmdline.patch"
sha512sums="400151c5d41562faaf00c66be47d058cd7685b03b4803ce36d2d674b0db9575bc9c756cd4f2914e99bcde163db61d34703a5ac6a4c8095006d1f3140c4534c30 alpine-conf-3.0.3.tar.xz
67f0d42faad00a7c4dfa85eda52823ea53e4369f811699b67531c404ecdaecbd5c02b1fb204f0e86de1a2ae846d7f626f0aff58ba3d473f752628d81310b2cb9 0001-setup-apkrepos-allow-specify-the-repos-from-cmdline.patch"
|