# Maintainer: Natanael Copa pkgname=alpine-conf pkgver=3.2.0 pkgrel=0 pkgdesc="Alpine configuration management scripts" url=http://git.alpinelinux.org/cgit/$pkgname arch="all" license="GPL2" depends="openrc" source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz " _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" make VERSION=$pkgver-r$pkgrel || return 1 } package() { cd "$_builddir" make install PREFIX= DESTDIR="$pkgdir" || return 1 for i in commit exclude include status update; do ln -s lbu "$pkgdir"/sbin/lbu_$i done } md5sums="db580800445157df07c681722aab4b6b alpine-conf-3.2.0.tar.xz" sha256sums="9a2d1b23ba9f19ecdd07798d79f8ab6ba63ea28daa1cbbf19da8bd1c2e6b9484 alpine-conf-3.2.0.tar.xz" sha512sums="9e1b41d94212596693d7e98f3a310b0576c86628ed528a1f112fab72bc4d14e88d99a7bedf834563e0337ccf0b256a450e47bfb3a4dd4935130fcd503d35f2ea alpine-conf-3.2.0.tar.xz"