From 490855ac8ed4ab7c1d97866a96711850899ca36d Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 6 Aug 2012 21:18:36 -0500 Subject: file 5.11 --- abs/core/file/PKGBUILD | 21 ++++++++++++--------- 1 file 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 # Contributor: Andreas Radke 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 -- cgit v0.12