aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pixz/APKBUILD
blob: a79e67c6765b615b5bf1c4bb0d80ac239cf069f3 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=pixz
pkgver=1.0.7
pkgrel=0
pkgdesc="Parallel, indexed xz compressor"
url="https://github.com/vasi/pixz"
arch="all"
license="BSD-2-Clause"
checkdepends="xz"
makedepends="libarchive-dev xz-dev"
source="https://github.com/vasi/pixz/releases/download/v$pkgver/pixz-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7f343cb74958b9582b60a2e916243e72421fad1ebecc5867c9e046c881e8a318da9bb885edd71da8fe6953fd5d5c2f5119133cd0bbbf4d0f9b35f8aecd61120d  pixz-1.0.7.tar.xz"