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

Levente Polyak anthraxx at archlinux.org
Mon Jul 1 20:00:58 UTC 2019


    Date: Monday, July 1, 2019 @ 20:00:57
  Author: anthraxx
Revision: 357214

archrelease: copy trunk to extra-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-01 20:00:52 UTC (rev 357213)
+++ PKGBUILD	2019-07-01 20:00:57 UTC (rev 357214)
@@ -1,46 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Étienne Deparis <etienne at depar.is>
-
-pkgname=libnitrokey
-pkgver=3.4.1
-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=('697c73b5248f3dd077d02fc2cfb3ce573df3d48c344291717f889061ee703b9d231fe0c7f8c1962af5dbfb1bb206c0345a56fc049ecfcfc5d933a00c5d7a05d0'
-            'SKIP')
-validpgpkeys=('868184069239FF65DE0BCD7DD9BAE35991DE5B22') # Szczepan Zalega <szczepan.zalega at gmail.com>
-
-prepare() {
-  cd ${pkgname}-v${pkgver}
-  mkdir -p build
-  sed 's|catch.hpp|catch2/catch.hpp|g' -i unittest/{*.cc,*.cpp}
-  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 357213, libnitrokey/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-01 20:00:57 UTC (rev 357214)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Étienne Deparis <etienne at depar.is>
+
+pkgname=libnitrokey
+pkgver=3.5
+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=('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:


More information about the arch-commits mailing list