projects/aports·blob master · refs

46 lines · 1.2 KiB

1# Contributor: Bart Ribbers <[email protected]>
2
3# The group tag is just to easily find this APKBUILD by some scripts for automation
4# group=kde-applications
5maintainer="team/kde <[email protected]>"
6pkgname=khealthcertificate
7pkgver=26.08.2
8pkgrel=0
9pkgdesc="Handling of digital vaccination, test and recovery certificates"
10url="https://invent.kde.org/pim/khealthcertificate"
11# armhf blocked by extra-cmake-modules
12arch="all !armhf"
13license="LGPL-2.0-or-later"
14depends_dev="
15 karchive-dev
16 kcodecs-dev
17 ki18n-dev
18 openssl-dev>3
19 qt6-qtbase-dev
20 qt6-qtdeclarative-dev
21 zlib-dev
22 "
23makedepends="$depends_dev
24 extra-cmake-modules
25 samurai
26 "
27subpackages="$pkgname-dev"
28_repo_url="https://invent.kde.org/pim/khealthcertificate.git"
29source="https://download.kde.org/stable/release-service/$pkgver/src/khealthcertificate-$pkgver.tar.xz"
30options="!check" # No tests
31
32build() {
33 cmake -B build -G Ninja \
34 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
35 -DCMAKE_INSTALL_PREFIX=/usr \
36 -DCMAKE_INSTALL_LIBDIR=lib
37 cmake --build build
38}
39
40package() {
41 DESTDIR="$pkgdir" cmake --install build
42}
43
44sha512sums="
458197ed4f9b0cf760ef7b36b3e3dbe19c49299e8910f43c6cc1ae7a49eb36d1e8c6fe606f4334e3837a838ec57174a9f070249e21181423e34b931b1c667cfe2e khealthcertificate-26.08.2.tar.xz
46"