mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 15:04:14 +02:00
27 lines
710 B
Text
27 lines
710 B
Text
# Maintainer: Simon Rupf <simon@rupf.net>
|
|
pkgname=par2cmdline
|
|
pkgver=1.0.0
|
|
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 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"
|
|
|
|
build() {
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
4e8bf05de958cd21dc9be485c87caad4ff67a64f83ce7dd6501854d5523d3b11a864791ccbbb2bd029798acc4e1f26bacaa96bbf21f3451d23378c91137e2fa1 par2cmdline-1.0.0.tar.bz2
|
|
"
|