[arch-commits] Commit in zip/trunk (ChangeLog PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Sat Apr 30 13:24:04 UTC 2011
Date: Saturday, April 30, 2011 @ 09:24:04
Author: andrea
Revision: 121305
upgpkg: zip 3.0-2
rebuild of old package
Modified:
zip/trunk/PKGBUILD
Deleted:
zip/trunk/ChangeLog
-----------+
ChangeLog | 13 -------------
PKGBUILD | 24 +++++++++++++++---------
2 files changed, 15 insertions(+), 22 deletions(-)
Deleted: ChangeLog
===================================================================
--- ChangeLog 2011-04-30 13:23:58 UTC (rev 121304)
+++ ChangeLog 2011-04-30 13:24:04 UTC (rev 121305)
@@ -1,13 +0,0 @@
-2008-08-10 Eric Belanger <eric at archlinux.org>
-
- * zip 3.0-1
- * Removed zcrypt reference as it's now included in zip 3.0
- * Added bzip2 depends
- * Added license
- * FHS man pages
- * Disabled SMP build
-
-2008-07-27 Douglas Soares de Andrade <douglas at archlinux.org>
-
- * Updating for i686: 3.0
-
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-04-30 13:23:58 UTC (rev 121304)
+++ PKGBUILD 2011-04-30 13:24:04 UTC (rev 121305)
@@ -1,22 +1,28 @@
# $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer:
+# Contributor: dorphell <dorphell at archlinux.org>
pkgname=zip
pkgver=3.0
-pkgrel=1.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
+}
More information about the arch-commits
mailing list