diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-15 05:52:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-15 11:25:42 +0000 |
commit | 5008e691a642ad6daf0a31ce4b308e5b371183b6 (patch) | |
tree | dabbfeef0ef66df61e899f4907475d5f0d1cbfd7 | |
parent | 1354d67470f89352da335648c1e7771766972b38 (diff) | |
download | aports-5008e691a642ad6daf0a31ce4b308e5b371183b6.tar.bz2 aports-5008e691a642ad6daf0a31ce4b308e5b371183b6.tar.xz |
main/findutils: fix localstatedir
-rw-r--r-- | main/findutils/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/findutils/APKBUILD b/main/findutils/APKBUILD index 48f6fd348f..7bb9d79ac0 100644 --- a/main/findutils/APKBUILD +++ b/main/findutils/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=findutils pkgver=4.4.2 -pkgrel=2 +pkgrel=3 pkgdesc="GNU utilities for finding files" url="http://www.gnu.org/software/findutils/" arch="all" @@ -13,20 +13,25 @@ install= subpackages="$pkgname-doc" source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/findutils-$pkgver build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ + --localstatedir=/var \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 - make DESTDIR="$pkgdir" install +} +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install } md5sums="351cc4adb07d54877fa15f75fb77d39f findutils-4.4.2.tar.gz" |