# Maintainer: Natanael Copa pkgname=alpine-conf pkgver=2.5 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-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch " license="GPL-2" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg "Applying $i" patch -p1 -i "$srcdir"/$i || return 1 ;; esac done } build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" make install PREFIX= DESTDIR="$pkgdir" for i in commit exclude include status update; do ln -s lbu "$pkgdir"/sbin/lbu_$i done } md5sums="24cd19783bfa63d0cefb8c10577bb6fb alpine-conf-2.5.tar.bz2 013d6ff1b2528002189a8c719dff68d6 0001-setup-disk-add-cdrom-usb-and-floppy-to-fstab.patch"