mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
25 lines
627 B
Bash
25 lines
627 B
Bash
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
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=('zlib')
|
|
options=('!libtool')
|
|
source=(ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('fd0b4ce55a756151629e06eaa3411e0c')
|
|
|
|
build() {
|
|
cd ${srcdir}/file-$pkgver
|
|
|
|
./configure --prefix=/opt --datadir=/opt/share/misc
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
install -D -m644 COPYING ${pkgdir}/opt/share/licenses/${pkgname}/COPYING
|
|
}
|