summaryrefslogtreecommitdiff
path: root/extra/zip/PKGBUILD
blob: 7b507748daee817e1e05fcbca688fe1a888a9634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 8433 2008-08-11 03:21:13Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>

pkgname=zip
pkgver=3.0
pkgrel=1
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 $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
}