[arch-commits] Commit in zip/trunk (PKGBUILD)

Gaetan Bisson bisson at nymeria.archlinux.org
Mon Jun 30 11:42:32 UTC 2014


    Date: Monday, June 30, 2014 @ 13:42:32
  Author: bisson
Revision: 215753

rebuild for mtree support

Modified:
  zip/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-30 11:38:33 UTC (rev 215752)
+++ PKGBUILD	2014-06-30 11:42:32 UTC (rev 215753)
@@ -1,28 +1,32 @@
 # $Id$
-# Maintainer:
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
 # Contributor: dorphell <dorphell at 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"
 }




More information about the arch-commits mailing list