# Maintainer: Natanael Copa pkgdesc="Script to build Alpine Packages" pkgname=abuild pkgver=2.7 pkgrel=1 url=http://git.alpinelinux.org/cgit/abuild/ source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2 0001-abuild-only-warn-when-we-think-there-should-have-bee.patch " depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1" makedepends="openssl-dev pkgconfig" arch="all" license=GPL-2 prepare() { cd "$srcdir/$pkgname-$pkgver" for i in $source; do case $i in *.patch) msg "Applying $i" patch -p1 -i "$srcdir"/$i || return 1 ;; esac done } build() { cd "$srcdir/$pkgname-$pkgver" make } package() { cd "$srcdir/$pkgname-$pkgver" make install DESTDIR="$pkgdir" install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf } md5sums="e6f5e18956d95e75da22adce128b2d52 abuild-2.7.tar.bz2 865f1e53e76cb77abb356cd6bb5b9588 0001-abuild-only-warn-when-we-think-there-should-have-bee.patch"