# Maintainer: Natanael Copa pkgname=alpine-conf pkgver=3.3.0 pkgrel=0 pkgdesc="Alpine configuration management scripts" url=http://git.alpinelinux.org/cgit/$pkgname arch="all" license="MIT" depends="openrc>0.13" 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="930636020880b2d7b2f2ea6369d5c5ae alpine-conf-3.3.0.tar.xz" sha256sums="a54dc78562efcaa9a976e98502f7e81d9c23ce9f95f90b86abc0b44799392031 alpine-conf-3.3.0.tar.xz" sha512sums="ed0a570b626863557aea0f170b70b63549a4669ca9ee4d312d7cd63fe6b98a91814b9805aca6cd8f62b08f258e1cdb1b41b3d4cb56f05c8739c341998f5ee363 alpine-conf-3.3.0.tar.xz"