# Maintainer: Natanael Copa pkgname=file pkgver=5.00 pkgrel=0 pkgdesc="File type identification utility" url="http://www.darwinsys.com/file/" license="custom" depends="uclibc zlib" source="ftp://ftp.astron.com/pub/file/file-$pkgver.tar.gz nocxx.patch" subpackages="$pkgname-dev $pkgname-doc" build () { cd "$srcdir"/$pkgname-$pkgver patch configure < ../nocxx.patch || return 1 ./configure --prefix=/usr --datadir=/usr/share/misc make || return 1 make DESTDIR="$pkgdir" install } md5sums="fd0b4ce55a756151629e06eaa3411e0c file-5.00.tar.gz 28513788ba4d556ccd538867dc6205ab nocxx.patch"