aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: 485805e28e4796daab114c6956591124314a6726 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.0_rc7
pkgrel=1
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-setup-disk-check-if-the-devce-itself-is-mounted.patch
	"
license="GPL-2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	patch -p1 -i ../0001-setup-disk-check-if-the-devce-itself-is-mounted.patch || return

	make || return 1
	make install PREFIX= DESTDIR="$pkgdir"
	for i in commit exclude include status update; do
		ln -s lbu "$pkgdir"/sbin/lbu_$i
	done
}
md5sums="8b44c02500d646dd64368904762d236e  alpine-conf-2.0_rc7.tar.bz2
f51a1948ddf5f035e9e6509e57000ccd  0001-setup-disk-check-if-the-devce-itself-is-mounted.patch"