aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: 0ffcb1ff102b8ebdf86983fc387ee4815a9c264e (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_rc6
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-fix-find_disks.patch
	"
license="GPL-2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	patch -p1 -i ../0001-setup-disk-fix-find_disks.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="52d08eaff7ad57581106418deed94d7d  alpine-conf-2.0_rc6.tar.bz2
cb6b8b50e4098174ce20245faeeb84ea  0001-setup-disk-fix-find_disks.patch"