diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-22 00:12:55 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-22 00:12:55 (GMT) |
commit | 388802c13f058c355dc60c2a0516d11d892e4447 (patch) | |
tree | 5bfab6998a672e3665d949cef26d7847a221f9e0 /abs/extra/zip/PKGBUILD | |
parent | 32d3a049ce06d371ccf4c8b95c9be1f87fe4d413 (diff) | |
download | linhes_pkgbuild-388802c13f058c355dc60c2a0516d11d892e4447.zip linhes_pkgbuild-388802c13f058c355dc60c2a0516d11d892e4447.tar.gz linhes_pkgbuild-388802c13f058c355dc60c2a0516d11d892e4447.tar.bz2 |
zip 3.0 rebuild
Diffstat (limited to 'abs/extra/zip/PKGBUILD')
-rw-r--r-- | abs/extra/zip/PKGBUILD | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/abs/extra/zip/PKGBUILD b/abs/extra/zip/PKGBUILD index 30cec8b..dca1103 100644 --- a/abs/extra/zip/PKGBUILD +++ b/abs/extra/zip/PKGBUILD @@ -1,32 +1,28 @@ -# $Id: PKGBUILD 6705 2008-07-27 14:04:19Z douglas $ -# Maintainer: dorphell <dorphell@archlinux.org> +# $Id: PKGBUILD 149604 2012-02-08 19:38:19Z pierre $ +# Maintainer: +# Contributor: dorphell <dorphell@archlinux.org> pkgname=zip pkgver=3.0 -pkgrel=1 +_pkgver=30 +pkgrel=3 pkgdesc="Creates PKZIP-compatible .zip files" -arch=(i686 x86_64) -url="http://www.info-zip.org/pub/infozip/Zip.html" -depends=('glibc') -makedepends=('unzip') -source=(ftp://ftp.info-zip.org/pub/infozip/src/zip30.zip - ftp://ftp.info-zip.org/pub/infozip/src/zcrypt.zip - zip-3.0-build.patch zip-3.0-no-crypt.patch - zip-3.0-exec-stack.patch zip-3.0-pic.patch - ) - - -md5sums=('e88492c8abd68fa9cfba72bc08757dba' - '0c969ba1661183b041a142945ed2710e') +arch=('i686' 'x86_64') +url="http://www.info-zip.org/Zip.html" +license=('BSD') +depends=('bzip2') +options=('!makeflags') +source=("ftp://ftp.info-zip.org/pub/infozip/src/${pkgname}${_pkgver}.zip") +md5sums=('e88492c8abd68fa9cfba72bc08757dba') build() { - cd $startdir/src/${pkgname}30 -# echo "A"| unzip ../zcrypt.zip - patch -p1 < $startdir/src/zip-3.0-build.patch - patch -p0 < $startdir/src/zip-3.0-no-crypt.patch || return 1 - patch -p1 < $startdir/src/zip-3.0-exec-stack.patch - patch -p0 < $startdir/src/zip-3.0-pic.patch + cd "${srcdir}/${pkgname}${_pkgver}" + make -f unix/Makefile LOCAL_ZIP="$CFLAGS" prefix=/usr generic_gcc +} - make -f unix/Makefile LOCAL_ZIP="$CFLAGS" prefix=/usr generic_gcc || return 1 - make -f unix/Makefile INSTALL=`which install` prefix=$startdir/pkg/usr install +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 } |