summaryrefslogtreecommitdiff
path: root/core/file/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/file/PKGBUILD')
-rw-r--r--core/file/PKGBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/core/file/PKGBUILD b/core/file/PKGBUILD
index 2a5489e9d..4d7b9cf95 100644
--- a/core/file/PKGBUILD
+++ b/core/file/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 131726 2011-07-14 01:54:47Z allan $
+# $Id: PKGBUILD 134479 2011-08-04 09:59:01Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=file
-pkgver=5.07
-pkgrel=4
+pkgver=5.08
+pkgrel=1
pkgdesc="File type identification utility"
arch=('i686' 'x86_64')
license=('custom')
@@ -12,17 +12,12 @@ groups=('base')
url="http://www.darwinsys.com/file/"
depends=('glibc' 'zlib')
options=('!libtool')
-source=(ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz
- file-5.07-zip-detect.patch)
-md5sums=('b8d1f9a8a644067bd0a703cebf3f4858'
- 'ac155cf89af6665dfee76738c27366d8')
+source=(ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('6a2a263c20278f01fe3bb0f720b27d4e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's#\$(datadir)/misc#\$(datadir)#' configure
-
- # combined upstream patches to fix zip file detection
- patch -Np1 -i ${srcdir}/file-5.07-zip-detect.patch
+ sed -i 's#\$(datadir)/misc#\$(datadir)#' configure
./configure --prefix=/usr --datadir=/usr/share/file
make