summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/findutils/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/findutils/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/findutils/PKGBUILD')
-rw-r--r--abs/core-testing/findutils/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core-testing/findutils/PKGBUILD b/abs/core-testing/findutils/PKGBUILD
new file mode 100644
index 0000000..0027aca
--- /dev/null
+++ b/abs/core-testing/findutils/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 2673 2008-06-11 02:45:30Z eric $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=findutils
+pkgver=4.4.0
+pkgrel=10
+pkgdesc="GNU utilities to locate files"
+arch=(i686 x86_64)
+license=('GPL3')
+groups=('base')
+depends=('glibc>=2.8')
+url="http://www.gnu.org/software/findutils"
+source=(ftp://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.gz)
+md5sums=('49e769ac4382fae6f104f99d54d0a112')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ # believe it or not, the Makefile really wants to remove /usr/var, so
+ # we let it...
+ mkdir -p $startdir/pkg/usr/var
+ make DESTDIR=$startdir/pkg install
+ rm -rf $startdir/pkg/usr/libexec
+
+ # remove locate utils (we use slocate instead)
+ rm -f $startdir/pkg/usr/bin/{locate,updatedb}
+ rm -f $startdir/pkg/usr/share/man/man1/{updatedb.1,locate.1}
+ rm -f $startdir/pkg/usr/share/man/man5/locatedb.5
+ rmdir $startdir/pkg/usr/var
+}