diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-28 05:45:55 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-28 05:45:55 +0000 |
commit | 4d22176132f4a830ab0cc510dabbc9f8c1c362ea (patch) | |
tree | 9f97e7a21013e7ed7de7edb5426650be3a7b73e3 /testing/file/PKGBUILD | |
parent | 33feb015eb09eee76827f359e685fce981d88111 (diff) |
Sat May 28 05:45:54 UTC 2011
Diffstat (limited to 'testing/file/PKGBUILD')
-rw-r--r-- | testing/file/PKGBUILD | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/testing/file/PKGBUILD b/testing/file/PKGBUILD deleted file mode 100644 index 9869a976c..000000000 --- a/testing/file/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# $Id: PKGBUILD 123963 2011-05-15 08:19:29Z tpowa $ -# Maintainer: Allan McRae <allan@archlinux.org> -# Contributor: Andreas Radke <andyrtr@archlinux.org> - -pkgname=file -pkgver=5.07 -pkgrel=3 -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.05-zip64.patch - file-5.07-zip-detect.patch) -md5sums=('b8d1f9a8a644067bd0a703cebf3f4858' - '385f020467debd98bd2d8df6143f93d0' - 'bcbf2e152f38003a2736298bbd0f37f8') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's#\$(datadir)/misc#\$(datadir)#' configure - - # identify zip64 files - patch -Np1 -i ${srcdir}/file-5.05-zip64.patch - 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 -} |