diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-29 09:28:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-30 08:23:20 +0000 |
commit | e831165357ab44d9fcd2811469cc4e5146890a15 (patch) | |
tree | 56d4fa343a01d63f5b1ca9091fef475089d7eebd /main/coreutils | |
parent | 44dafe5dc2f1586029cc52c686711f78c02f3672 (diff) | |
download | aports-e831165357ab44d9fcd2811469cc4e5146890a15.tar.bz2 aports-e831165357ab44d9fcd2811469cc4e5146890a15.tar.xz |
main/coreutils: specify license and enable acl
Diffstat (limited to 'main/coreutils')
-rw-r--r-- | main/coreutils/APKBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/main/coreutils/APKBUILD b/main/coreutils/APKBUILD index 79d569a5b3..ab8f9f5f4f 100644 --- a/main/coreutils/APKBUILD +++ b/main/coreutils/APKBUILD @@ -2,20 +2,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=coreutils pkgver=8.21 -pkgrel=3 +pkgrel=4 pkgdesc="The basic file, shell and text manipulation utilities" url="http://www.gnu.org/software/coreutils/" arch="all" -license="GPL" +license="GPL3+" depends= -makedepends="bash" +makedepends="bash acl-dev" install= subpackages="$pkgname-doc" install="$pkgname.post-deinstall" source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.xz" +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$_builddir" LIBS="-lrt" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -31,8 +32,8 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 rm -rf "$pkgdir"/usr/lib/charset.alias rmdir -p "$pkgdir"/usr/lib 2>/dev/null @@ -50,3 +51,5 @@ package() { } md5sums="065ba41828644eca5dd8163446de5d64 coreutils-8.21.tar.xz" +sha256sums="adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18 coreutils-8.21.tar.xz" +sha512sums="cf0e5a393b486dd7fd46600dc2928bd2303250f3bce7b2f0de1bb3bf7b0cc3f6e29001b23fda5bbabe7686bf78917cfabe1f81abb602ab41cd406b45021fd229 coreutils-8.21.tar.xz" |