aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lbzip2/APKBUILD
blob: 1a9d3c613275606d493520fbbcb3209ae278b31a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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"