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

Levente Polyak anthraxx at archlinux.org
Sat Sep 26 11:18:17 UTC 2020


    Date: Saturday, September 26, 2020 @ 11:18:17
  Author: anthraxx
Revision: 396573

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-26 11:18:13 UTC (rev 396572)
+++ PKGBUILD	2020-09-26 11:18:17 UTC (rev 396573)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Étienne Deparis <etienne at depar.is>
-
-pkgname=libnitrokey
-pkgver=3.5
-pkgrel=2
-pkgdesc='Communicate with Nitrokey stick devices in a clean and easy manner'
-url='https://www.nitrokey.com'
-arch=('x86_64')
-license=('LGPL3')
-depends=('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=('5e412b47f7df4b3b06bb003ac6c6d16da89dbb06cfc8c5e1e6e43c6cf84aeecb2cc6093b2bfba6fabbed0deaf0df1d17c8f49f64b464b959814d9b754c2279d7'
-            'SKIP')
-validpgpkeys=('868184069239FF65DE0BCD7DD9BAE35991DE5B22') # Szczepan Zalega <szczepan.zalega at gmail.com>
-
-prepare() {
-  cd ${pkgname}-v${pkgver}
-  mkdir -p build
-  sed '/REQUIRE(std::regex_match(s, pattern));/d' -i unittest/test_offline.cc
-}
-
-build() {
-  cd ${pkgname}-v${pkgver}/build
-  cmake .. \
-    -DBUILD_SHARED_LIBS=ON \
-    -DCOMPILE_OFFLINE_TESTS=ON \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make
-}
-
-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 396572, libnitrokey/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-26 11:18:17 UTC (rev 396573)
@@ -0,0 +1,46 @@
+# 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:



More information about the arch-commits mailing list