diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-07-20 14:44:01 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-07-20 14:44:01 +0000 |
commit | 3da6b13f1eb136d0899bd2e8dd217048bb4d9030 (patch) | |
tree | 78f3c7f0776ff0be3c22bb7744a82c47d9f62cfc /testing/file/PKGBUILD | |
parent | 94e3eb45cd3402cbc5efd70ae725e8d48ed696af (diff) |
Wed Jul 20 14:43:57 UTC 2011
Diffstat (limited to 'testing/file/PKGBUILD')
-rw-r--r-- | testing/file/PKGBUILD | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/testing/file/PKGBUILD b/testing/file/PKGBUILD deleted file mode 100644 index 2a5489e9d..000000000 --- a/testing/file/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# $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=4 -pkgdesc="File type identification utility" -arch=('i686' 'x86_64') -license=('custom') -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') - -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 - - ./configure --prefix=/usr --datadir=/usr/share/file - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR=${pkgdir} install - install -dm755 ${pkgdir}/usr/share/misc - ln -s ../file/magic.mgc ${pkgdir}/usr/share/misc - - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING -} |