# $Id: PKGBUILD 179540 2013-03-06 10:50:29Z allan $ # Maintainer: Allan McRae # Contributor: Andreas Radke pkgname=file pkgver=5.13 pkgrel=1 pkgdesc="File type identification utility" arch=('i686' 'x86_64' 'mips64el') license=('custom') groups=('base' 'base-devel') url="http://www.darwinsys.com/file/" depends=('glibc' 'zlib') options=('!libtool') source=(ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('d60c1364ba956eff7d21f8250808fc6d') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --datadir=/usr/share/file make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR=${pkgdir} install install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING }