PKGBUILD 727 Bytes
Newer Older
1 2 3 4 5
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>

Jan Mette's avatar
Jan Mette committed
6
pkgname=gzip
7
pkgver=1.6
Manuel's avatar
Manuel committed
8
pkgrel=1
Jan Mette's avatar
Jan Mette committed
9
pkgdesc="GNU compression utility"
Manuel's avatar
Manuel committed
10
arch=('x86_64')
Jan Mette's avatar
Jan Mette committed
11 12
url="http://www.gnu.org/software/gzip/"
license=('GPL3')
Manuel's avatar
Manuel committed
13
groups=('base' 'base-devel')
14
depends=('glibc' 'bash' 'less')
Jan Mette's avatar
Jan Mette committed
15
install=gzip.install
16 17 18
source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
md5sums=('da981f86677d58a106496e68de6f8995'
         'SKIP')
Jan Mette's avatar
Jan Mette committed
19 20

build() {
21
  cd "${srcdir}/${pkgname}-${pkgver}"
Jan Mette's avatar
Jan Mette committed
22
  ./configure --prefix=/usr
Manuel's avatar
Manuel committed
23
  make
24 25
}

Manuel's avatar
Manuel committed
26
check() {
27
  cd "${srcdir}/${pkgname}-${pkgver}"
Manuel's avatar
Manuel committed
28
  make check
Jan Mette's avatar
Jan Mette committed
29
}
30

Manuel's avatar
Manuel committed
31 32 33 34
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make prefix=${pkgdir}/usr install
}