# Maintainer: Christian Schendel # Contributor: A. Klitzing pkgname=ausweisapp2 pkgver=2.4.0 pkgrel=2 pkgdesc="A software application that you install on your computer to use your national identity card or your electronic residence permit for online identification" arch=('i686' 'x86_64' 'aarch64') license=('EUPL-1.2') url="https://www.ausweisapp.bund.de/" depends=( gcc-libs glibc hicolor-icon-theme llhttp openssl pcsclite qt6-base qt6-declarative qt6-svg qt6-websockets qt6-scxml systemd-libs ) makedepends=( cmake ninja pkgconf python qt6-shadertools qt6-tools vulkan-headers ) optdepends=( 'ccid: Smart Card Interface' 'acsccid: ACS CCID smart card readers' 'pcsc-cyberjack: Driver for Reiner SCT cyberjack Cardreaders' ) source=("https://github.com/Governikus/AusweisApp2/releases/download/${pkgver}/AusweisApp-${pkgver}.tar.gz"{,.asc}) validpgpkeys=('699BF3055B0A49224EFDE7C72D7479A531451088') b2sums=('755a8ff3f82ca17d1d0fec9d46840a59cd1d308343bb1e59daca807e2261d26c059ba46785315bf28587e9d452681180ec0cc8aeb55bf837c984b8edcbd1e951' 'SKIP') prepare() { cd "AusweisApp-$pkgver" } build() { local cmake_options=( -G Ninja -B build -D CMAKE_BUILD_TYPE=MinSizeRel -D CMAKE_INSTALL_PREFIX=/usr -W no-dev -S "${srcdir}/AusweisApp-${pkgver}" ) cmake "${cmake_options[@]}" cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build install -Dm644 "${srcdir}/AusweisApp-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" } # vim: set ft=sh ts=4 sw=4 et: