Skip to content

Commit

Permalink
pixz package
Browse files Browse the repository at this point in the history
The original PKGBUILD was taken from the archlinux
  • Loading branch information
fshp committed Mar 13, 2021
1 parent 97bf817 commit 58e0d40
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pixz/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Contributor: Maxim Moseychuk ("fshp") <franchesko.salias.hudro.pedros@gmail.com>

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
}

0 comments on commit 58e0d40

Please sign in to comment.