# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=nitrokey-app pkgver=1.4.2 pkgrel=2 arch="all" url="https://nitrokey.com/" pkgdesc="Nitrokey's Application" license="GPL-3.0-or-later" makedepends="cmake libnitrokey-dev qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev cppcodec bash-completion-dev samurai" source="https://github.com/Nitrokey/nitrokey-app/archive/v$pkgver/nitrokey-app-v$pkgver.tar.gz" subpackages="$pkgname-bash-completion" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" 48234e9ab594d52123c7d3f538f1520bf21e0be81acacd1dbddc96727ae148ef2840a29bf165c566eb03ed4bef2203eb616db1f157652e0b896125d3fe524f53 nitrokey-app-v1.4.2.tar.gz "