[arch-commits] Commit in nitrokey-app/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Aug 24 19:53:03 UTC 2020


    Date: Monday, August 24, 2020 @ 19:53:02
  Author: anthraxx
Revision: 394659

upgpkg: nitrokey-app 1.4.2-1

Modified:
  nitrokey-app/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-24 19:47:21 UTC (rev 394658)
+++ PKGBUILD	2020-08-24 19:53:02 UTC (rev 394659)
@@ -3,8 +3,8 @@
 # Contributor: Christoph J. Thompson <thompsonc at protonmail.ch>
 
 pkgname=nitrokey-app
-pkgver=1.4
-pkgrel=2
+pkgver=1.4.2
+pkgrel=1
 pkgdesc='Nitrokey management application'
 url='https://www.nitrokey.com'
 arch=('x86_64')
@@ -12,24 +12,24 @@
 depends=('qt5-base' 'qt5-svg' 'hicolor-icon-theme' 'libnitrokey' 'libnitrokey.so')
 makedepends=('cmake' 'qt5-tools' 'bash-completion' 'cppcodec')
 source=(https://github.com/Nitrokey/nitrokey-app/releases/download/v${pkgver}/nitrokey-app-v${pkgver}.tar.gz{,.sig})
-sha512sums=('b7565a44941e4dfdc8f225971fade4e83beabacac8271528393a63ccc074ba0d4a7b9d050e5c9f40087006ba21115aeccf11a48b807309e55e49b3f427b593c9'
+sha512sums=('5a8d1219cedb59737634ce9eee4c0b50a67471e55736e5255085b3c08f8aea0a716ae5ad817d39e40f67519f4987cde43b2d26e622f56c5d88d9104c59a31462'
             'SKIP')
 validpgpkeys=('868184069239FF65DE0BCD7DD9BAE35991DE5B22') # Szczepan Zalega <szczepan.zalega at gmail.com>
 
 prepare() {
   cd ${pkgname}-v${pkgver}
-  mkdir -p build
   rm -r data/icons/ubuntu-mono-{dark,light} 3rdparty/cppcodec
   ln -s /usr/include/cppcodec 3rdparty/cppcodec
 }
 
 build() {
-  cd ${pkgname}-v${pkgver}/build
-  cmake .. \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DBUILD_SHARED_LIBS=ON \
-        -DCMAKE_INSTALL_PREFIX=/usr
-  make
+  cd ${pkgname}-v${pkgver}
+  cmake \
+    -B build \
+    -DCMAKE_BUILD_TYPE=None \
+    -DBUILD_SHARED_LIBS=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make -C build
 }
 
 package() {



More information about the arch-commits mailing list