# Maintainer: Krzysztof "hiciu" Warzecha # Modified by OpenPogo pkgname=findutils pkgver=4.4.0 pkgrel=1 pkgdesc="GNU utilities to locate files" arch=(arm) license=('GPL3') groups=('base') depends=() 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=/opt make || return 1 # believe it or not, the Makefile really wants to remove /opt/var, so # we let it... mkdir -p $startdir/pkg/opt/var make DESTDIR=$startdir/pkg install rm -rf $startdir/pkg/opt/libexec # remove locate utils (we use slocate instead) rm -f $startdir/pkg/opt/bin/{locate,updatedb} rm -f $startdir/pkg/opt/share/man/man1/{updatedb.1,locate.1} rm -f $startdir/pkg/opt/share/man/man5/locatedb.5 rmdir $startdir/pkg/opt/var }