summaryrefslogtreecommitdiff
path: root/extra/zip
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-01 03:54:24 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-01 03:54:24 +0000
commit88933a383866089c23f6d62783a6a24ab211e872 (patch)
tree06df2798b84f9e12ebbef88948c0e5b2a3227e99 /extra/zip
parentffb384c05abcdb9c7a7d9df8407b8efc8caa78de (diff)
Tue Jul 1 03:46:37 UTC 2014
Diffstat (limited to 'extra/zip')
-rw-r--r--extra/zip/PKGBUILD34
1 files changed, 19 insertions, 15 deletions
diff --git a/extra/zip/PKGBUILD b/extra/zip/PKGBUILD
index dca110344..60a44b696 100644
--- a/extra/zip/PKGBUILD
+++ b/extra/zip/PKGBUILD
@@ -1,28 +1,32 @@
-# $Id: PKGBUILD 149604 2012-02-08 19:38:19Z pierre $
-# Maintainer:
+# $Id: PKGBUILD 215754 2014-06-30 11:42:39Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=zip
pkgver=3.0
-_pkgver=30
-pkgrel=3
-pkgdesc="Creates PKZIP-compatible .zip files"
+_pkgver=${pkgver/./}
+pkgrel=4
+pkgdesc='Compressor/archiver for creating and modifying zipfiles'
+url='http://www.info-zip.org/Zip.html'
arch=('i686' 'x86_64')
-url="http://www.info-zip.org/Zip.html"
-license=('BSD')
+license=('custom')
depends=('bzip2')
+source=("http://downloads.sourceforge.net/infozip/${pkgname}${_pkgver}.tar.gz")
+sha1sums=('c9f4099ecf2772b53c2dd4a8e508064ce015d182')
+
options=('!makeflags')
-source=("ftp://ftp.info-zip.org/pub/infozip/src/${pkgname}${_pkgver}.zip")
-md5sums=('e88492c8abd68fa9cfba72bc08757dba')
build() {
- cd "${srcdir}/${pkgname}${_pkgver}"
- make -f unix/Makefile LOCAL_ZIP="$CFLAGS" prefix=/usr generic_gcc
+ cd "${srcdir}/${pkgname}${_pkgver}"
+ make -f unix/Makefile prefix=/usr \
+ LOCAL_ZIP="$CFLAGS $CPPFLAGS $LDFLAGS" \
+ 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
+ cd "${srcdir}/${pkgname}${_pkgver}"
+ make -f unix/Makefile prefix="${pkgdir}"/usr \
+ MANDIR=${pkgdir}/usr/share/man/man1 \
+ install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}