diff options
-rw-r--r-- | main/abuild/APKBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index af4de26255..e20662f997 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD @@ -1,10 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgdesc="Script to build Alpine Packages" pkgname=abuild pkgver=2.18.0 _ver=${pkgver%_git*} -pkgrel=0 -url=http://git.alpinelinux.org/cgit/abuild/ +pkgrel=1 +pkgdesc="Script to build Alpine Packages" +url="http://git.alpinelinux.org/cgit/abuild/" +arch="all" +license="GPL2" depends="fakeroot sudo pax-utils openssl apk-tools>=2.0.7-r1 libc-utils" if [ "$CBUILD" = "$CHOST" ]; then depends="$depends curl" @@ -15,10 +17,7 @@ makedepends="$makedepends_host $makedepends_build" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="apkbuild-cpan:cpan" pkggroups="abuild" -arch="all" -license=GPL-2 -source="http://dev.alpinelinux.org/archive/abuild/abuild-$pkgver.tar.xz - " +source="http://dev.alpinelinux.org/archive/abuild/abuild-$pkgver.tar.xz" _builddir="$srcdir/$pkgname-$_ver" prepare() { @@ -36,14 +35,14 @@ prepare() { build() { cd "$_builddir" - make + make || return 1 } package() { cd "$_builddir" - make install DESTDIR="$pkgdir" - install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf - install -d -m 775 -g abuild "$pkgdir"/var/cache/distfiles + make install DESTDIR="$pkgdir" || return 1 + install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf || return 1 + install -d -m 775 -g abuild "$pkgdir"/var/cache/distfiles || return 1 } cpan() { |