Subject: [PATCH] testing/par2cmdline: new aport

From: Pascal Watteel <[email-masked]>
Date: Thu, 12 Aug 2021 15:04:35 +0000

https://github.com/Parchive/par2cmdline
par2cmdline is a PAR 2.0 compatible file verification and repair tool
---
 testing/par2cmdline/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/par2cmdline/APKBUILD

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 <[email-masked]>
+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"
-- 
2.30.2