[arch-commits] Commit in nitrokey-app/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue May 19 09:37:37 UTC 2020


    Date: Tuesday, May 19, 2020 @ 09:37:36
  Author: foutrelis
Revision: 386568

archrelease: copy trunk to staging-x86_64

Added:
  nitrokey-app/repos/staging-x86_64/
  nitrokey-app/repos/staging-x86_64/PKGBUILD
    (from rev 386567, nitrokey-app/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: nitrokey-app/repos/staging-x86_64/PKGBUILD (from rev 386567, nitrokey-app/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 09:37:36 UTC (rev 386568)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Étienne Deparis <etienne at depar.is>
+# Contributor: Christoph J. Thompson <thompsonc at protonmail.ch>
+
+pkgname=nitrokey-app
+pkgver=1.4
+pkgrel=2
+pkgdesc='Nitrokey management application'
+url='https://www.nitrokey.com'
+arch=('x86_64')
+license=('GPL3')
+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'
+            '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
+}
+
+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