# Description: Basic directory searching utilities
# URL:         http://www.gnu.org/software/findutils/
# Maintainer:  Per Lidén <per@fukt.bth.se>

name=findutils
version=4.2.27
release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)

build() {
    cd $name-$version
    ./configure --prefix=/usr \
		--disable-nls
    make
    make DESTDIR=$PKG install
    rm -rf $PKG/usr/bin/{updatedb,locate} \
	   $PKG/usr/man/man1/{updatedb.1,locate.1} \
	   $PKG/usr/man/man5 $PKG/usr/libexec \
	   $PKG/usr/info $PKG/usr/var
}