diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:18:36 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:18:36 (GMT) |
commit | 490855ac8ed4ab7c1d97866a96711850899ca36d (patch) | |
tree | 42e4d53c49be4def1def78d0e254f41ecee2699a /abs | |
parent | ade3036fd96b64e3f15564aa551d9dc5f80053dc (diff) | |
download | linhes_pkgbuild-490855ac8ed4ab7c1d97866a96711850899ca36d.zip linhes_pkgbuild-490855ac8ed4ab7c1d97866a96711850899ca36d.tar.gz linhes_pkgbuild-490855ac8ed4ab7c1d97866a96711850899ca36d.tar.bz2 |
file 5.11
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/file/PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/abs/core/file/PKGBUILD b/abs/core/file/PKGBUILD index a7cc7ee..f182038 100644 --- a/abs/core/file/PKGBUILD +++ b/abs/core/file/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 65356 2010-01-28 04:43:43Z allan $ +# $Id: PKGBUILD 150976 2012-02-24 12:10:49Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> pkgname=file -pkgver=5.04 -pkgrel=2 +pkgver=5.11 +pkgrel=1 pkgdesc="File type identification utility" arch=('i686' 'x86_64') license=('custom') @@ -12,17 +12,20 @@ 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=('accade81ff1cc774904b47c72c8aeea0') +source=(ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('16a407bd66d6c7a832f3a5c0d609c27b') build() { - cd ${srcdir}/$pkgname-$pkgver - sed -i 's#\$(datadir)/misc#\$(datadir)#' configure + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's#\$(datadir)/misc#\$(datadir)#' configure + ./configure --prefix=/usr --datadir=/usr/share/file - make || return 1 + make } + package() { - cd ${srcdir}/$pkgname-$pkgver + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install install -dm755 ${pkgdir}/usr/share/misc ln -s ../file/magic.mgc ${pkgdir}/usr/share/misc |