[arch-commits] Commit in libnitrokey/repos/extra-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Fri Apr 29 18:24:05 UTC 2022


    Date: Friday, April 29, 2022 @ 18:24:05
  Author: dvzrv
Revision: 444306

archrelease: copy trunk to extra-x86_64

Added:
  libnitrokey/repos/extra-x86_64/PKGBUILD
    (from rev 444305, libnitrokey/trunk/PKGBUILD)
Deleted:
  libnitrokey/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 41 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-29 18:23:54 UTC (rev 444305)
+++ PKGBUILD	2022-04-29 18:24:05 UTC (rev 444306)
@@ -1,46 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Étienne Deparis <etienne at depar.is>
-
-pkgname=libnitrokey
-pkgver=3.6
-pkgrel=1
-pkgdesc='Communicate with Nitrokey stick devices in a clean and easy manner'
-url='https://www.nitrokey.com'
-arch=('x86_64')
-license=('LGPL3')
-depends=('glibc' 'gcc-libs' 'hidapi' 'libusb')
-makedepends=('cmake' 'qt5-tools' 'catch2')
-provides=('libnitrokey.so')
-source=(https://github.com/Nitrokey/libnitrokey/releases/download/v${pkgver}/libnitrokey-v${pkgver}.tar.gz{,.sig})
-sha512sums=('4ffc465f9c6b7ee672d0d2aa8bfaa891f939816513f5d400e8156316e6708306c62ce9abb9ca55d3467bcc53e8c1203c57b2f5f16e046dd322c89cdec1740b3c'
-            'SKIP')
-validpgpkeys=('868184069239FF65DE0BCD7DD9BAE35991DE5B22') # Szczepan Zalega <szczepan.zalega at gmail.com>
-
-prepare() {
-  cd ${pkgname}-v${pkgver}
-  sed '/REQUIRE(std::regex_match(s, pattern));/d' -i unittest/test_offline.cc
-}
-
-build() {
-  cd ${pkgname}-v${pkgver}
-  cmake . \
-    -B build \
-    -DBUILD_SHARED_LIBS=ON \
-    -DCOMPILE_OFFLINE_TESTS=ON \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make -C build VERBOSE=1
-}
-
-check() {
-  cd ${pkgname}-v${pkgver}/build
-  ctest -VV
-}
-
-package() {
-  cd ${pkgname}-v${pkgver}
-  make -C build DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: libnitrokey/repos/extra-x86_64/PKGBUILD (from rev 444305, libnitrokey/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-29 18:24:05 UTC (rev 444306)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Étienne Deparis <etienne at depar.is>
+
+pkgname=libnitrokey
+pkgver=3.7
+pkgrel=1
+pkgdesc='Communicate with Nitrokey stick devices in a clean and easy manner'
+url='https://www.nitrokey.com'
+arch=('x86_64')
+license=('LGPL3')
+depends=('glibc' 'gcc-libs' 'hidapi' 'libusb')
+makedepends=('cmake' 'qt5-tools' 'catch2')
+provides=('libnitrokey.so')
+options=(debug)
+source=(https://github.com/Nitrokey/libnitrokey/releases/download/v${pkgver}/libnitrokey-v${pkgver}.tar.gz{,.sig})
+sha512sums=('1f9c689a64b99aef8b683c0bca0e0c8b07b51008c18a884571f0c38d1b73deac0d1067f6b93fc7181226655005828299662e75ec0885eaeeca1a5023de2348eb'
+            'SKIP')
+b2sums=('42afdd903491d24fad80bbaf60efff8b22177aadf1b1b3d9c1c65ba981fe3313c9f5a3140bb4fef59629681537860c899a6bbfca330304afaaf16961f93ba619'
+        'SKIP')
+validpgpkeys=('868184069239FF65DE0BCD7DD9BAE35991DE5B22') # Szczepan Zalega <szczepan.zalega at gmail.com>
+
+build() {
+  cmake -B build \
+    -DBUILD_SHARED_LIBS=ON \
+    -DCOMPILE_OFFLINE_TESTS=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -S $pkgname-v$pkgver
+  make -C build VERBOSE=1
+}
+
+check() {
+  ctest -VV --test-dir build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list