1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Étienne Deparis <etienne@depar.is>
3 # Contributor: Christoph J. Thompson <thompsonc@protonmail.ch>
8 pkgdesc='Nitrokey management application'
9 url='https://www.nitrokey.com'
12 depends=('qt5-base' 'qt5-svg' 'hicolor-icon-theme' 'libnitrokey' 'libnitrokey.so')
13 makedepends=('cmake' 'qt5-tools' 'bash-completion' 'cppcodec')
14 source=(https://github.com/Nitrokey/nitrokey-app/releases/download/v${pkgver}/nitrokey-app-v${pkgver}.tar.gz{,.sig})
15 sha512sums=('5a8d1219cedb59737634ce9eee4c0b50a67471e55736e5255085b3c08f8aea0a716ae5ad817d39e40f67519f4987cde43b2d26e622f56c5d88d9104c59a31462'
17 validpgpkeys=('868184069239FF65DE0BCD7DD9BAE35991DE5B22') # Szczepan Zalega <szczepan.zalega@gmail.com>
20 cd ${pkgname}-v${pkgver}
21 rm -r data/icons/ubuntu-mono-{dark,light} 3rdparty/cppcodec
22 ln -s /usr/include/cppcodec 3rdparty/cppcodec
26 cd ${pkgname}-v${pkgver}
29 -DCMAKE_BUILD_TYPE=None \
30 -DBUILD_SHARED_LIBS=ON \
31 -DCMAKE_INSTALL_PREFIX=/usr
36 cd ${pkgname}-v${pkgver}
37 make -C build DESTDIR="${pkgdir}" install