aboutsummaryrefslogtreecommitdiffstats
path: root/testing/par2cmdline/APKBUILD
blob: 4e4e7ba9ca4b8b68d0617ec4fe37b0cac25ac969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Simon Rupf <simon@rupf.net>
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 !mips !mips64" # 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="b33ee654bd14269afb02d48175abf183281270c3e0dad9ffcaa0aa69c4271715a85e550d6d56fe5460ebfe9a37dc53b7d2210cd79a6f55d3921dc5dd5972c846  par2cmdline-0.8.1.tar.bz2"