Commit 5008e691 authored by Natanael Copa's avatar Natanael Copa

main/findutils: fix localstatedir

parent 1354d674
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment