updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / bzip / PKGBUILD
blob3e5c2607937bdc66866aa2b5fe0eef401cee8333
1 # Maintainer: Kovivchak Evgen <oneonfire@gmail.com> 
3 pkgname=bzip
4 pkgver=0.21
5 pkgrel=1
6 pkgdesc="A block-sorting file compressor"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url="http://archlinux.org"
10 depends=('glibc')
11 source=($pkgname-$pkgver.tar.gz)
12 md5sums=('03a7fe24ced5ac4401a32092409c78be')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
16   make || return 1
17   install -Dm755 bzip $pkgdir/usr/bin/bzip || return 1
18   ln -s $pkgdir/usr/bin/bzip $pkgdir/usr/bin/bunzip || return 1
19   install -Dm644 bzip.1 $pkgdir/usr/share/man/man1/bzip.1
20   install -Dm644 $srcdir/${pkgname}-${pkgver}/LICENSE \
21                  $pkgdir/usr/share/licenses/${pkgname}/LICENSE