# Maintainer: Dan Ziemba # Contributor: Jaroslav Lichtblau # Contributor: Christoph Zeiler pkgname=lbzip2-git pkgver=2.5.r36.g8702655 pkgrel=1 pkgdesc="A parallel, SMP-based, bzip2-compatible compression utility" arch=('i686' 'x86_64') url="http://lbzip2.org/" license=('GPL3') depends=('glibc') makedepends=('perl' 'gnulib' 'git') provides=('lbzip2') conflicts=('lbzip2') _gitname="lbzip2" source=($_gitname'::git+https://github.com/kjn/lbzip2.git#branch=master') sha256sums=('SKIP') pkgver() { cd "$srcdir/$_gitname" git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//g' } build() { cd "$srcdir/$_gitname" ./build-aux/autogen.sh ./configure --prefix=/usr make } check() { cd "$srcdir/$_gitname" make check } package() { cd "$srcdir/$_gitname" make DESTDIR=${pkgdir} install }