aboutsummaryrefslogtreecommitdiffstats
path: root/testing/plzip/APKBUILD
blob: 7ce9637426e64dd196dbba2aa8fdcdb6f4821a6f (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
31
32
33
34
# Contributor: Klemens Nanni <kl3@posteo.org>
# Maintainer: Klemens Nanni <kl3@posteo.org>
pkgname=plzip
pkgver=1.6
pkgrel=0
pkgdesc="Plzip is a massively parallel lossless data compressor"
url="http://www.nongnu.org/lzip/plzip.html"
arch="all"
license="GPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="lzlib"
install=""
subpackages="${pkgname}-doc"
source="http://download.savannah.gnu.org/releases/lzip/${pkgname}/${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="14f794e290eb58bcdf1fc5699c08c36f57473e36eeb3920dff519741c4265883f8ee348095a9315562812574c3f5ece7bd7ef4a11fbd955fe2ee54e361900f77  plzip-1.6.tar.gz"