blob: 60a44b6965240b1a853a40e0b94ef8dc46f1de05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $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=${pkgver/./}
pkgrel=4
pkgdesc='Compressor/archiver for creating and modifying zipfiles'
url='http://www.info-zip.org/Zip.html'
arch=('i686' 'x86_64')
license=('custom')
depends=('bzip2')
source=("http://downloads.sourceforge.net/infozip/${pkgname}${_pkgver}.tar.gz")
sha1sums=('c9f4099ecf2772b53c2dd4a8e508064ce015d182')
options=('!makeflags')
build() {
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 prefix="${pkgdir}"/usr \
MANDIR=${pkgdir}/usr/share/man/man1 \
install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|