blob: 5b02d018153eca2d84acdb55f3e5c095b99e7cb6 (
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
33
34
35
36
37
38
39
|
# Maintainer: Luca Weiss <aur (at) lucaweiss (dot) eu>
pkgname=khealthcertificate-git
_pkgname=khealthcertificate
pkgver=24.01.90.r5.gd469570
pkgrel=1
pkgdesc="Handling of digital vaccination, test and recovery certificates"
arch=(x86_64)
url="https://invent.kde.org/pim/khealthcertificate"
license=(LGPL-2.0-or-later)
provides=($_pkgname)
conflicts=($_pkgname)
depends=(gcc-libs
glibc
karchive
kcodecs
ki18n
openssl
qt6-base
zlib)
makedepends=(git extra-cmake-modules qt6-declarative)
optdepends=('qt6-declarative: QML bindings')
source=("git+https://invent.kde.org/pim/khealthcertificate.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake -B build -S $_pkgname \
-DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|