summaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: cc7524358553290b7d117d23edde2dcd17d28b3e (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_rc5
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-use-uuid-in-fstab-and-extlinux.conf.patch
	"
license="GPL-2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	patch -p1 -i ../0001-setup-disk-use-uuid-in-fstab-and-extlinux.conf.patch || return 1

	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="0b5f8fece27412aa9d810dfaddd2aee0  alpine-conf-2.0_rc5.tar.bz2
47c14e0f404c555f898b140f338f2847  0001-setup-disk-use-uuid-in-fstab-and-extlinux.conf.patch"