# Maintainer: Simon Rupf pkgname=par2cmdline pkgver=0.8.1 pkgrel=0 pkgdesc="PAR 2.0 compatible file verification and repair tool" url="https://github.com/Parchive/par2cmdline#par2cmdline" arch="all !s390x" # tests/unit_tests fails on s390x license="GPL-2.0-or-later" subpackages="$pkgname-doc" source="https://github.com/Parchive/par2cmdline/releases/download/v$pkgver/par2cmdline-$pkgver.tar.bz2" build() { ./configure --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="b33ee654bd14269afb02d48175abf183281270c3e0dad9ffcaa0aa69c4271715a85e550d6d56fe5460ebfe9a37dc53b7d2210cd79a6f55d3921dc5dd5972c846 par2cmdline-0.8.1.tar.bz2"