aports/community/par2cmdline/APKBUILD
2022-10-24 15:54:52 +02:00

33 lines
781 B
Plaintext

# Maintainer: Simon Rupf <simon@rupf.net>
pkgname=par2cmdline
pkgver=0.8.1
pkgrel=1
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 big endian
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
source="https://github.com/Parchive/par2cmdline/releases/download/v$pkgver/par2cmdline-$pkgver.tar.bz2"
prepare() {
default_prepare
update_config_sub
update_config_guess
}
build() {
./configure --prefix=/usr
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="b33ee654bd14269afb02d48175abf183281270c3e0dad9ffcaa0aa69c4271715a85e550d6d56fe5460ebfe9a37dc53b7d2210cd79a6f55d3921dc5dd5972c846 par2cmdline-0.8.1.tar.bz2"