# Contributor: Justin Menga <justin.menga@gmail.com>
# Maintainer: Justin Menga <justin.menga@gmail.com>
pkgname=lbzip2
pkgver=2.5
pkgrel=1
pkgdesc="A parallel bzip2 compression utility"
url="http://lbzip2.org"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
source="http://archive.lbzip2.org/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
        ./configure --prefix=/usr
        make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
        make DESTDIR="$pkgdir/" install
}
sha512sums="76e96cfa75b3ed515b2f891349dffc1403daab2dd0a2a614fa0c811cec6ca25faa395da08ad68a9b6ba4069332c4571f70fb7424f06ef3d800c3082c08d7d3d7  lbzip2-2.5.tar.gz"
