aboutsummaryrefslogtreecommitdiffstats
path: root/community/par2cmdline/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/par2cmdline/APKBUILD')
-rw-r--r--community/par2cmdline/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/par2cmdline/APKBUILD b/community/par2cmdline/APKBUILD
new file mode 100644
index 0000000000..4e4e7ba9ca
--- /dev/null
+++ b/community/par2cmdline/APKBUILD
@@ -0,0 +1,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"