mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 10:32:15 +08:00
32 lines
743 B
Bash
32 lines
743 B
Bash
# $Id: PKGBUILD 64609 2010-01-21 11:31:50Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributor: judd <jvinet@zeroflux.org>
|
|
|
|
pkgname=gzip
|
|
pkgver=1.4
|
|
pkgrel=1
|
|
pkgdesc="GNU compression utility"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/gzip/"
|
|
license=('GPL3')
|
|
groups=('base')
|
|
depends=('glibc' 'bash')
|
|
makedepends=('patch')
|
|
install=gzip.install
|
|
source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz)
|
|
md5sums=('e381b8506210c794278f5527cba0e765')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make prefix=$pkgdir/usr install
|
|
|
|
install -dm755 $pkgdir/bin
|
|
cd $pkgdir/usr/bin
|
|
mv gzip gunzip zcat uncompress $pkgdir/bin
|
|
cd $pkgdir/bin
|
|
ln -sf $pkgname compress
|
|
}
|