core/zip/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 66c2a61021 Fixed the zip package.
2013-07-25 21:22:26 +00:00

26 lines
854 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=zip
pkgver=3.0
pkgrel=4
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')
options=('!makeflags')
source=(ftp://ftp.info-zip.org/pub/infozip/src/zip30.zip)
md5sums=('e88492c8abd68fa9cfba72bc08757dba')
build() {
cd $srcdir/${pkgname}30
make -f unix/Makefile LOCAL_ZIP="$CFLAGS" prefix=/usr generic_gcc || return 1
make -f unix/Makefile INSTALL=`which install` prefix=$pkgdir/usr MANDIR=$pkgdir/usr/share/man/man1 install
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
}