aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Watteel <pascal@watteel.com>2021-08-12 15:04:35 +0000
committerdispatch <dispatch@listserv.local>2021-08-12 15:04:56 +0000
commit5f7b0cab5ff3f58486f7444e8d25938adfd1c287 (patch)
tree8403c059b0cd81da5dd9bfd1f94c0f73558bdd27
parent02464205585f6c8cf35164f75e9b4201ccc158f6 (diff)
downloadaports-5f7b0cab5ff3f58486f7444e8d25938adfd1c287.tar.gz
aports-5f7b0cab5ff3f58486f7444e8d25938adfd1c287.tar.bz2
aports-5f7b0cab5ff3f58486f7444e8d25938adfd1c287.tar.xz
testing/par2cmdline: new aportpatches/3594
https://github.com/Parchive/par2cmdline par2cmdline is a PAR 2.0 compatible file verification and repair tool
-rw-r--r--testing/par2cmdline/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/par2cmdline/APKBUILD b/testing/par2cmdline/APKBUILD
new file mode 100644
index 0000000000..09fd59b187
--- /dev/null
+++ b/testing/par2cmdline/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor:
+# Maintainer: Pascal Watteel <pascal@watteel.com>
+pkgname=par2cmdline
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="Par2cmdline is a PAR 2.0 compatible file verification and repair tool"
+url="https://github.com/Parchive/par2cmdline"
+arch="all"
+license="GPL-2.0-only"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/Parchive/$pkgname/archive/refs/tags/v$pkgver.tar.gz"
+
+build() {
+ export LDFLAGS="-static"
+ aclocal
+ automake --add-missing
+ autoupdate
+ autoconf
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d8a49ae7688c9833278e7c2c666855f92f91850adc700f5e5bb2afc01c508dc50a389b822e3cf120ed6c950bb98854724c8d84b9173dd4452f8216105a42145c par2cmdline-0.8.1.tar.gz"