StMartin81

Untitled

Nov 6th, 2020
175
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
  2.  
  3. pkgname=ausweisapp2
  4. pkgver=1.20.2
  5. pkgrel=1
  6. pkgdesc="A software application that you install on your computer to use your national identity card or your electronic residence permit for online identification"
  7. arch=('i686' 'x86_64')
  8. license=('custom:EUPL1.2')
  9. url="https://www.ausweisapp.bund.de/"
  10. depends=('qt5-declarative' 'qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-websockets' 'pcsclite' 'http-parser')
  11. makedepends=('cmake' 'qt5-tools')
  12. optdepends=('ccid' 'acsccid' 'pcsc-cyberjack')
  13. source=("https://github.com/Governikus/AusweisApp2/releases/download/${pkgver}/AusweisApp2-${pkgver}.tar.gz"{,.asc})
  14. validpgpkeys=('699BF3055B0A49224EFDE7C72D7479A531451088')
  15. sha256sums=('d56505b67884b1d443fe3560004d0a644c20034b4196d1a08a4c29138fe7092b'
  16.             'SKIP')
  17.  
  18. build() {
  19.   cd "${srcdir}"
  20.   cmake -B build \
  21.     -DCMAKE_BUILD_TYPE=MinSizeRel \
  22.     -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
  23.     "${srcdir}/AusweisApp2-${pkgver}"
  24.   cmake --build build
  25. }
  26.  
  27. package() {
  28.   cd "${srcdir}"
  29.   cmake --install build
  30.   install -Dm644 "${srcdir}/AusweisApp2-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
  31. }
  32.  
RAW Paste Data