summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/file/PKGBUILD
blob: 63a224f5f7a8b93560d5189953d2b8779edf9877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 4745 2008-07-09 19:17:02Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=file
pkgver=4.25
pkgrel=10
pkgdesc="File type identification utility"
arch=('i686' 'x86_64')
license=('custom')
groups=('base')
url="http://www.darwinsys.com/file/"
depends=('glibc' 'zlib')
options=('!libtool')
source=(ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('cdf1f90d2704e71118353c16c19898ba')

build() {
  cd ${srcdir}/$pkgname-$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
}