blob: 86b88c57594a117da13ed9cf197b433f06aaae66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: 2-4601 <AUR@othermemory.org>
pkgname=atostekid
pkgver=4.1.1.0
pkgrel=1
pkgdesc="New desktop application for Finnish electronic ID cards"
arch=("x86_64")
url="https://dvv.fi/en/linux-versions"
license=("LicenseRef-Atostek")
depends=(
"botan2"
"ccid"
"nss"
"pcsclite"
"qpdf"
"qt6-base"
)
optdepends=(
"gnome-shell-extension-appindicator: System tray indicator extension for GNOME desktop"
"libappindicator-gtk3: System tray support for desktop environments"
)
install=${pkgname}.install
source=(${pkgname}-${pkgver}.deb::"https://dvv.fi/documents/16079645/228119190/AtostekID_DEB_${pkgver//_/-}.deb")
sha256sums=("1b4c7137241dd396da201eb1c21f6363f81aa72169aecc58d78e23bdbe8e0f0c")
package() {
tar xf data.tar.xz -C "${pkgdir}"
rm -rf "${pkgdir}/usr/lib/atostekid"
install -D -m 644 "${pkgdir}/usr/share/doc/atostekid/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/copyright"
install -m 644 "${pkgdir}"/usr/share/doc/atostekid/license_{en,fi,sv}.rtf "${pkgdir}/usr/share/licenses/${pkgname}/"
rm "${pkgdir}"/usr/share/doc/atostekid/{copyright,license_{en,fi,sv}.rtf}
}
|