# Maintainer: Natanael Copa pkgname=alpine-conf pkgver=2.0_beta3 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-lbu-remove-packages.list-if-exist.patch " license="GPL-2" build() { cd "$srcdir/$pkgname-$pkgver" patch -p1 -i ../0001-lbu-remove-packages.list-if-exist.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="7786d6d526e96a3fdf51b9284d063caa alpine-conf-2.0_beta3.tar.bz2 b09f9702fc6599fcb7d9bfbc855c8b5c 0001-lbu-remove-packages.list-if-exist.patch"