blob: 70d4b2d5ab1f9b95ab0e47dc535784e0c760b664 (
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
|
# $Id: PKGBUILD 4237 2008-07-05 19:17:35Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=zlib
pkgver=1.2.3.3
pkgrel=14
pkgdesc="A compression/decompression Library"
arch=('i686' 'x86_64')
license=('custom:zlib')
url="http://www.gzip.org/zlib"
groups=('base')
depends=('glibc')
source=("ftp://ftp.archlinux.org/other/zlib/zlib-${pkgver}.tar.gz")
md5sums=('c444cf020e5f0e3323b11f5a2d8af8d3')
build() {
cd ${srcdir}/zlib-$pkgver
./configure --prefix=/usr --shared
make || return 1
make install prefix=${pkgdir}/usr || return 1
grep -A 24 '^ Copyright' zlib.h > license.txt
install -D license.txt ${pkgdir}/usr/share/licenses/zlib/license.txt
}
|