PKGBUILDs/core/file/PKGBUILD

26 lines
627 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
2009-09-26 15:58:33 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
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/"
2009-09-26 15:58:33 +00:00
depends=('zlib')
2009-09-26 14:35:50 +00:00
options=('!libtool')
source=(ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('fd0b4ce55a756151629e06eaa3411e0c')
build() {
cd ${srcdir}/file-$pkgver
2009-09-26 15:58:33 +00:00
./configure --prefix=/opt --datadir=/opt/share/misc
2009-09-26 14:35:50 +00:00
make || return 1
make DESTDIR=${pkgdir} install
2009-09-26 15:58:33 +00:00
install -D -m644 COPYING ${pkgdir}/opt/share/licenses/${pkgname}/COPYING
2009-09-26 14:35:50 +00:00
}