blob: dea881cb5783b6b50f1e0f03c5c5391098efcec1 (
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
|
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=gzip
pkgver=1.3.12
pkgrel=13
pkgdesc="GNU compression utility"
arch=(i686 x86_64)
url="http://www.gzip.org"
license=('GPL')
groups=('base')
depends=('glibc' 'bash')
makedepends=('patch')
source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz
gzip-fixutimens.patch)
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i ${startdir}/src/gzip-fixutimens.patch || return 1
./configure --prefix=/usr
make || return 1
mkdir -p $startdir/pkg/bin $startdir/pkg/usr/bin
make prefix=$startdir/pkg/usr install
cd $startdir/pkg/usr/bin
mv $pkgname $startdir/pkg/bin
mv gunzip zcat uncompress $startdir/pkg/bin
cd $startdir/pkg/bin
ln -sf $pkgname compress
}
md5sums=('b5bac2d21840ae077e0217bc5e4845b1'
'cb592761476921018386031d91625153')
|