APKBUILD 828 Bytes
Newer Older
1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
Natanael Copa's avatar
Natanael Copa committed
2
pkgname=alpine-conf
3
pkgver=2.0
4
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
5
pkgdesc="Alpine configuration management scripts"
6
url=http://git.alpinelinux.org/cgit/$pkgname
7
depends="openrc"
8
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
9
	0001-lbu-fix-the-way-we-check-if-a-dir-is-mounted-or-not.patch
10
	"
11
license="GPL-2"
Natanael Copa's avatar
Natanael Copa committed
12 13 14

build() {
	cd "$srcdir/$pkgname-$pkgver"
15
	patch -p1 -i "$srcdir"/0001-lbu-fix-the-way-we-check-if-a-dir-is-mounted-or-not.patch || return 1
16

17
	make || return 1
18
	make install PREFIX= DESTDIR="$pkgdir"
19
	for i in commit exclude include status update; do
20
		ln -s lbu "$pkgdir"/sbin/lbu_$i
21
	done
Natanael Copa's avatar
Natanael Copa committed
22
}
23 24
md5sums="0aa966ef854de61b375d7e08bdb105b4  alpine-conf-2.0.tar.bz2
3b520ebbf30e4e5c2ff76f14a1e2d8f2  0001-lbu-fix-the-way-we-check-if-a-dir-is-mounted-or-not.patch"