summaryrefslogtreecommitdiff
path: root/core/file/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-17 23:11:47 +0000
committerroot <root@rshg047.dnsready.net>2011-07-17 23:11:47 +0000
commitddddf9c453076a407bfdbf3e030e606f31ee2b86 (patch)
treee836f8617981c56d8e16fa5fb285afe5563befd2 /core/file/PKGBUILD
parent7500119d8dd5fc921f91aac8222e472477973740 (diff)
Sun Jul 17 23:11:47 UTC 2011
Diffstat (limited to 'core/file/PKGBUILD')
-rw-r--r--core/file/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/core/file/PKGBUILD b/core/file/PKGBUILD
index 9869a976c..2a5489e9d 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')
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
}