aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: da45c9adc01fc35eccd6889446bcc8cafe53965f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.5.0
pkgrel=3
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
arch="all"
license="MIT"
depends="openrc>0.13 busybox>=1.26.1-r3"
source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz
	0001-update-conf-fix-quoting-in-subshell.patch
	0001-setup-disk-dont-use-local-in-global-scope.patch
	0001-setup-apkrepos-use-wget-spider.patch
	"

builddir="$srcdir"/$pkgname-$pkgver
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="168deac2c9bd79d672c7d244a24754cf  alpine-conf-3.5.0.tar.xz
6c5f745ed605c97e0a506e71103fa6be  0001-update-conf-fix-quoting-in-subshell.patch
2e85380db1889907b2817f138599cd46  0001-setup-disk-dont-use-local-in-global-scope.patch
543cd005457d40a8f91eb97d60c81e79  0001-setup-apkrepos-use-wget-spider.patch"
sha256sums="64fe2a1730105032b37463c465759e4eea2ca0e174a4be1fc01169842450a83f  alpine-conf-3.5.0.tar.xz
b804c0c80722dfe4e37ab7be9a80387a1a56553eebc3c493f4d0762ec03f48f6  0001-update-conf-fix-quoting-in-subshell.patch
8b6ba2e7c8065975bff59324258bfeccdb44b036f9637838c5f959829e6898c5  0001-setup-disk-dont-use-local-in-global-scope.patch
2c9b62ebe381967e9877c143e608ca886a486ba51226eaffe8a3a4c257764b84  0001-setup-apkrepos-use-wget-spider.patch"
sha512sums="26958579ebefa7822a11178a202c50f1bef55be8165e87e54b65b1389453e8ddcb5eac83cce2814cd8157716bae7170ae84e7e36ac996fa50804e4b94f2b25bf  alpine-conf-3.5.0.tar.xz
0b40ee7565946b34be82bbb951be1ea4592fae35887b4996258e2c98697bd60a5d88df710e97b443d4ca101ef61e118aad82adbe1165d6906ce7ff338ec2b590  0001-update-conf-fix-quoting-in-subshell.patch
6d5994f6ca38b6d7bb1aba0a5bd7fa69d3cb1c5eda2417c53f6060ad61e17952fd01c2c301d904016822986edfe87f0e6122f37d07bd1b7b8fba22e5e5b48358  0001-setup-disk-dont-use-local-in-global-scope.patch
be834f0e92730685b2c4447ea226d5fbfe77d9f036eed449bff2ccf66f50105088492dbb2080925473745103920537cfa286015d5ebb2303d0bceb0350a302bb  0001-setup-apkrepos-use-wget-spider.patch"