PKGBUILDs/core/file/PKGBUILD
2009-09-26 09:35:50 -05:00

26 lines
644 B
Bash

# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=file
pkgver=5.00
pkgrel=2
pkgdesc="File type identification utility"
arch=('arm')
license=('custom')
groups=('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=('fd0b4ce55a756151629e06eaa3411e0c')
build() {
cd ${srcdir}/file-$pkgver
./configure --prefix=/usr --datadir=/usr/share/misc
make || return 1
make DESTDIR=${pkgdir} install
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
# vim: set ft=sh ts=2 sw=2 et: