Ike Devolder pushed to branch main at Arch Linux / Packaging / Packages / 
par2cmdline


Commits:
2efe0d28 by Ike Devolder at 2026-11-21T16:04:22+01:00
upgpkg: 2.0.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,17 +1,20 @@
 pkgbase = par2cmdline
        pkgdesc = A PAR 2.0 compatible file verification and repair tool
-       pkgver = 1.4.0
+       pkgver = 2.0.0
        pkgrel = 1
        url = https://github.com/BlackIkeEagle/par2cmdline
        arch = x86_64
        license = GPL-2.0-or-later
+       makedepends = tar
+       makedepends = cmake
+       makedepends = ninja
+       makedepends = cxxopts
        depends = libgcc
-       depends = libgomp
        depends = libstdc++
-       source = 
https://github.com/Parchive/par2cmdline/releases/download/v1.4.0/par2cmdline-1.4.0.tar.gz
-       source = 
https://github.com/Parchive/par2cmdline/releases/download/v1.4.0/par2cmdline-1.4.0.tar.gz.sig
+       source = 
https://github.com/Parchive/par2cmdline/releases/download/v2.0.0/par2cmdline-2.0.0.tar.gz
+       source = 
https://github.com/Parchive/par2cmdline/releases/download/v2.0.0/par2cmdline-2.0.0.tar.gz.sig
        validpgpkeys = DB2277BCD500AA3825610BDDDB323392796CA067
-       sha512sums = 
3f455c088622698f0ad233497b3c96849880f9a1f1212f24aaaa52394df361665b4d25b604a0b4e95c04a3516915c35469581917b768f0d7dc364bb9c9b23991
+       sha512sums = 
9ed2395ea2bd2a9d1520bc5641cb3223d545949c487576087cc4a180e8059f3bab86529c9b2199f05ffe26aac91415e5dd3b6c73bbf48ae88b61c7cd0bc73728
        sha512sums = SKIP
 
 pkgname = par2cmdline


=====================================
PKGBUILD
=====================================
@@ -3,43 +3,43 @@
 # Maintainer: Sébastien Luttringer <[email protected]
 
 pkgname=par2cmdline
-pkgver=1.4.0
+pkgver=2.0.0
 pkgrel=1
 pkgdesc='A PAR 2.0 compatible file verification and repair tool'
 url='https://github.com/BlackIkeEagle/par2cmdline'
 license=('GPL-2.0-or-later')
 arch=('x86_64')
+makedepends=('tar' 'cmake' 'ninja' 'cxxopts')
 depends=(
   'libgcc'
-  'libgomp'
   'libstdc++'
 )
 
source=("https://github.com/Parchive/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz";
         
"https://github.com/Parchive/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz.sig";)
-sha512sums=('3f455c088622698f0ad233497b3c96849880f9a1f1212f24aaaa52394df361665b4d25b604a0b4e95c04a3516915c35469581917b768f0d7dc364bb9c9b23991'
+sha512sums=('9ed2395ea2bd2a9d1520bc5641cb3223d545949c487576087cc4a180e8059f3bab86529c9b2199f05ffe26aac91415e5dd3b6c73bbf48ae88b61c7cd0bc73728'
             'SKIP')
 
 validpgpkeys=(
   'DB2277BCD500AA3825610BDDDB323392796CA067'
 )
 
-prepare() {
-  cd "$pkgname-$pkgver"
-  autoreconf -fiv
-}
-
 build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
+    cmake \
+        -S "$pkgname-$pkgver" \
+        -B build \
+        -G Ninja \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DPAR2_KEEP_ASSERTS=ON \
+        -DPAR2_SYSTEM_CXXOPTS=ON
+    cmake --build build
 }
 
 check() {
-  cd "$pkgname-$pkgver"
-  make -j1 check
+    ctest --test-dir build
 }
 
 package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
+    DESTDIR=$pkgdir cmake \
+        --install build \
+        --prefix /usr
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/par2cmdline/-/commit/2efe0d289b2ba41d8019345ee0a3b14dea8665e2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/par2cmdline/-/commit/2efe0d289b2ba41d8019345ee0a3b14dea8665e2
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to