archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / datovka / repos / community-x86_64 / PKGBUILD
blobceb57978ada83be8b1155e935023ad9703df39dc
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 pkgname=datovka
4 pkgver=4.22.1
5 pkgrel=1
6 pkgdesc="GUI application for a 'Databox' - an electronic communication interface endorsed by the Czech government"
7 arch=('i686' 'x86_64')
8 url='https://www.datovka.cz/'
9 license=('custom')
10 depends=('qt6-base' 'qt6-svg' 'qt6-5compat' 'quazip-qt6' 'qt6-websockets'
11          'libdatovka' 'openssl' 'hicolor-icon-theme')
12 makedepends=('qt6-tools')
13 source=(https://secure.nic.cz/files/datove_schranky/$pkgver/$pkgname-$pkgver.tar.xz)
14 sha256sums=('f7b043d2f887951a9719e8c8d1b1585cc716dbea3474a09bf1fd2667d63a2fdc')
16 build() {
17   cd "${srcdir}"/$pkgname-$pkgver
19   /usr/lib/qt6/bin/lrelease datovka.pro
20   qmake6 PREFIX=/usr
21   make
24 package() {
25   cd "${srcdir}"/$pkgname-$pkgver
27   make INSTALL_ROOT="${pkgdir}" install
29   install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE