updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / gzip-rsyncable / PKGBUILD
blobabe292ecd60a4d3d06632791efd80300167f886c
1 # Contributor: Andreas Schönfelder <passtschu at freenet dot de>
3 pkgname=gzip-rsyncable
4 pkgver=1.4
5 pkgrel=1
6 pkgdesc="GNU compression utility"
7 arch=('i686' 'x86_64')
8 url="http://www.gnu.org/software/gzip/"
9 license=('GPL3')
10 groups=('base')
11 depends=('glibc' 'bash')
12 makedepends=('patch')
13 provides=('gzip')
14 conflicts=('gzip')
15 install=gzip.install
16 source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz
17         https://trac.macports.org/raw-attachment/ticket/16446/patch-gzip-rsyncable.diff)
18 md5sums=('e381b8506210c794278f5527cba0e765'
19          '350760fd5a53acd5d54902f9e2d7c9fc')
21 build() {
22   cd $srcdir/gzip-$pkgver
24   patch -p0 < $srcdir/patch-gzip-rsyncable.diff || return 1
26   ./configure --prefix=/usr
27   make || return 1
28   make prefix=$pkgdir/usr install
30   install -dm755 $pkgdir/bin
31   cd $pkgdir/usr/bin
32   mv gzip gunzip zcat uncompress $pkgdir/bin
33   cd $pkgdir/bin
34   ln -sf gzip compress