diff options
Diffstat (limited to 'core/file/PKGBUILD')
-rw-r--r-- | core/file/PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/core/file/PKGBUILD b/core/file/PKGBUILD index 2038dd5b4..6b1d9377d 100644 --- a/core/file/PKGBUILD +++ b/core/file/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 123963 2011-05-15 08:19:29Z tpowa $ +# $Id: PKGBUILD 131726 2011-07-14 01:54:47Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> pkgname=file pkgver=5.07 -pkgrel=3 +pkgrel=4 pkgdesc="File type identification utility" arch=('i686' 'x86_64' 'mips64el') license=('custom') @@ -13,19 +13,17 @@ url="http://www.darwinsys.com/file/" depends=('glibc' 'zlib') options=('!libtool') source=(ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz - file-5.05-zip64.patch file-5.07-zip-detect.patch) md5sums=('b8d1f9a8a644067bd0a703cebf3f4858' - '385f020467debd98bd2d8df6143f93d0' - 'bcbf2e152f38003a2736298bbd0f37f8') + 'ac155cf89af6665dfee76738c27366d8') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i 's#\$(datadir)/misc#\$(datadir)#' configure - # identify zip64 files - patch -Np1 -i ${srcdir}/file-5.05-zip64.patch + # combined upstream patches to fix zip file detection patch -Np1 -i ${srcdir}/file-5.07-zip-detect.patch + ./configure --prefix=/usr --datadir=/usr/share/file make } |