diff --git a/pixz/PKGBUILD b/pixz/PKGBUILD new file mode 100644 index 00000000000..d5ef099d2d3 --- /dev/null +++ b/pixz/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Maxim Moseychuk ("fshp") + +pkgname=pixz +pkgver=1.0.7 +pkgrel=1 +pkgdesc="Parallel, indexed xz compressor" +arch=('i686' 'x86_64') +url="https://github.com/vasi/pixz" +license=('BSD') +depends=('libarchive') +makedepends=('asciidoc' 'libarchive-devel') +source=(${url}/releases/download/v$pkgver/${pkgname}-$pkgver.tar.gz) +sha256sums=('d1b6de1c0399e54cbd18321b8091bbffef6d209ec136d4466f398689f62c3b5f') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + manpage=true ./configure \ + --prefix=/usr \ + --build=${CHOST} + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + + install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \ + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +}