void-packages/srcpkgs/pixz/template

22 lines
592 B
Bash

# Template file for 'pixz'
pkgname=pixz
version=1.0.2
revision=2
hostmakedepends="asciidoc git"
makedepends="liblzma-devel libarchive-devel"
short_desc="A parallel, indexing version of XZ"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="2-clause-BSD"
homepage="https://github.com/vasi/pixz"
distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz"
checksum=38bbb3a8b407bcaeadb5473f44acc38c6bf6ecd92171b231d71029a593646c88
do_build() {
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="-lm $LDFLAGS" ${makejobs}
a2x -f manpage pixz.1.asciidoc
}
do_install() {
vbin pixz
vman pixz.1
}