aboutsummaryrefslogtreecommitdiffstats
path: root/testing/plzip/APKBUILD
blob: 97cb4a726291685326d2f9062cdc6a6561a08c0f (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
35
36
# 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 || return 1
}

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

package() {
	cd "${builddir}"
	make DESTDIR="${pkgdir}" install || return 1
}

md5sums="0708e89375efd2bdfe8816b7c8a1b0d5  plzip-1.6.tar.gz"
sha256sums="5d1d79fe4a1e41aa05e3926d067243efbaa607ed238036152f867662b7d14c7c  plzip-1.6.tar.gz"
sha512sums="14f794e290eb58bcdf1fc5699c08c36f57473e36eeb3920dff519741c4265883f8ee348095a9315562812574c3f5ece7bd7ef4a11fbd955fe2ee54e361900f77  plzip-1.6.tar.gz"