aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-30 10:51:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-31 12:07:10 +0000
commite57ef983544949d5a1b848f544909f2a62ea55e9 (patch)
tree56d8fddb354ab85501f91d02f3231d1929fc29cd /main/abuild
parent2fa0cf9ab3e706a25ceea821c421668e92100ada (diff)
downloadaports-e57ef983544949d5a1b848f544909f2a62ea55e9.tar.bz2
aports-e57ef983544949d5a1b848f544909f2a62ea55e9.tar.xz
main/abuild: update license tag
Diffstat (limited to 'main/abuild')
-rw-r--r--main/abuild/APKBUILD21
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() {