# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=ausweisapp2 pkgver=1.26.6 pkgrel=0 pkgdesc="Official authentication app for German ID card and residence permit" url="https://www.ausweisapp.bund.de/" arch="all" license="EUPL-1.2" depends=" acsccid ccid pcsc-cyberjack pcsc-lite " makedepends=" cmake http-parser-dev openssl-dev pcsc-lite-dev qt6-qtbase-dev qt6-qtdeclarative-dev qt6-qtscxml-dev qt6-qtsvg-dev qt6-qttools-dev qt6-qtwebsockets-dev samurai " subpackages="$pkgname-doc" source="https://github.com/Governikus/AusweisApp2/releases/download/$pkgver/AusweisApp2-$pkgver.tar.gz" options="!check" # no upstream tests in release build builddir="$srcdir/AusweisApp2-$pkgver" build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ $CMAKE_CROSSOPTS . cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" c4ce6b61e7dccff3a1d5e7a0bb4d0b7261b3e861ce588ba29dfa2b235a9d797d59565fef0b8a8a310b1a13a6d4ea3ef2f075345ecdd70e7fb3a9fe72cd95b968 AusweisApp2-1.26.6.tar.gz "