diff options
author | root <root@rshg047.dnsready.net> | 2011-05-01 22:33:26 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-01 22:33:26 +0000 |
commit | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (patch) | |
tree | faeb03af48db54c663f74f3f188b9c1c56ca6a0b /extra/zip/PKGBUILD | |
parent | c173ac862828a54925737fc1d90ede1dd09a312c (diff) |
Sun May 1 22:33:26 UTC 2011
Diffstat (limited to 'extra/zip/PKGBUILD')
-rw-r--r-- | extra/zip/PKGBUILD | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/extra/zip/PKGBUILD b/extra/zip/PKGBUILD index 7b507748d..6d13a1917 100644 --- a/extra/zip/PKGBUILD +++ b/extra/zip/PKGBUILD @@ -1,22 +1,28 @@ -# $Id: PKGBUILD 8433 2008-08-11 03:21:13Z eric $ -# Maintainer: dorphell <dorphell@archlinux.org> +# $Id: PKGBUILD 121305 2011-04-30 13:24:04Z andrea $ +# Maintainer: +# Contributor: dorphell <dorphell@archlinux.org> pkgname=zip pkgver=3.0 -pkgrel=1 +_pkgver=30 +pkgrel=2 pkgdesc="Creates PKZIP-compatible .zip files" arch=(i686 x86_64) url="http://www.info-zip.org/pub/infozip/Zip.html" license=('BSD') -depends=('glibc' 'bzip2') -makedepends=('unzip') +depends=('bzip2') options=('!makeflags') -source=(ftp://ftp.info-zip.org/pub/infozip/src/zip30.zip) +source=("ftp://ftp.info-zip.org/pub/infozip/src/${pkgname}${_pkgver}.zip") md5sums=('e88492c8abd68fa9cfba72bc08757dba') build() { - cd $startdir/src/${pkgname}30 - make -f unix/Makefile LOCAL_ZIP="$CFLAGS" prefix=/usr generic_gcc || return 1 - make -f unix/Makefile INSTALL=`which install` prefix=$startdir/pkg/usr MANDIR=$startdir/pkg/usr/share/man/man1 install - install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt + cd "${srcdir}/${pkgname}${_pkgver}" + make -f unix/Makefile LOCAL_ZIP="$CFLAGS" prefix=/usr generic_gcc +} + +package() { + cd "${srcdir}/${pkgname}${_pkgver}" + make -f unix/Makefile INSTALL=/bin/install prefix=${pkgdir}/usr \ + MANDIR=${pkgdir}/usr/share/man/man1 install + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE } |