# Maintainer: Natanael Copa pkgname=alpine-conf pkgver=3.7.0 pkgrel=0 pkgdesc="Alpine configuration management scripts" url=http://git.alpinelinux.org/cgit/$pkgname arch="all" license="MIT" depends="openrc>0.13 busybox>=1.26.1-r3" source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz " builddir="$srcdir"/$pkgname-$pkgver 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 } sha512sums="13fed0532aa84c39d54d2c905f31276c4b8f2d596c33bebd796f36e2e796f2d66c172440c20d19e8753f531204cacecc79ca24cd3ec1b24e3e51de251297207b alpine-conf-3.7.0.tar.xz"