aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: 552ee3517739f9fdb0831bfe77dc54e96e62b046 (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
46
47
48
49
50
51
52
53
54
55
56
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.0.1
pkgrel=3
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-disk-fix-partitioning-of-HP-raid-array-cciss.patch
	0001-setup-apkrepos-force-install-virtual-package.patch
	0001-setup-apkrepos-fix-cleanup.patch
	0001-setup-disk-fix-progressbar.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="905831b30cee21cbad64c2d6a0973516  alpine-conf-3.0.1.tar.xz
df0d66fd6dcd63f1648b0768ed23df34  0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch
109d4c00c3fa6f34ec9948a8a517787e  0001-setup-apkrepos-force-install-virtual-package.patch
67ad1f462e426492402737db78597cdf  0001-setup-apkrepos-fix-cleanup.patch
ea7ba6f62309c81deffaeb73004b1bf5  0001-setup-disk-fix-progressbar.patch"
sha256sums="928e37a835af314c313b85f166d51b1e2421e36191e987d0eb63aa4aa5a1b640  alpine-conf-3.0.1.tar.xz
56988a30777e6a7ed0391236aa94d3812ab4b9ee89a7866ce62ab4eb620145f2  0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch
49c1914648feb972c7a9df71641c61e23851618ae6581de51d0223b04e133854  0001-setup-apkrepos-force-install-virtual-package.patch
7bffdd3ffbac435b8b283993c27aeed4f0dac6ff46c369956894b05af7c1c8c0  0001-setup-apkrepos-fix-cleanup.patch
06bd56bf618ed95b75383c29f8efc0f013e44e72c9ae92aaf2edf457bdd3738f  0001-setup-disk-fix-progressbar.patch"
sha512sums="3ff48fe21dafa96cc43a71bbb227961c27f75e04a36dff7c0e2b8f5a6541e63156f692bd50e67f16f2c833b88a671327525f8d1f040dd1fd2982d341589bf309  alpine-conf-3.0.1.tar.xz
6188cfe76b6acd63c9c9906f590c025ea4d0d8b49c97c0c21dee93670fafda595668534b7fcbbe5095eae967d13fb742823fe1c69412f52341c18e3f5ea7901e  0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch
f34a5e3cd82abc692e3ed793aead0f985b010bb5c44e16c7de9c130510d081536aab01f27d42ddd62053bdc53f06f6013f7951a97f6c1109e508774eb24ace6f  0001-setup-apkrepos-force-install-virtual-package.patch
36e0b2426aea48cd347e4879855c21b9a445d78e43bc0e76a73710767193a1bed34804b2e2d998bf764dc31d38360503196212bbd29821e54fdb834d8f61095c  0001-setup-apkrepos-fix-cleanup.patch
79e68440b1478f5a88fab849a49773e1933e16e76ddf04d53a14c4fdcf719ef198140d6d36f280cc9a05eadf4bde0e0c7b11d278968771efbd72f76acba819da  0001-setup-disk-fix-progressbar.patch"