# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kpkpass pkgver=23.04.3 pkgrel=1 arch="all !armhf" url="https://kontact.kde.org/" pkgdesc="Apple Wallet Pass reader" license="GPL-2.0-or-later" depends_dev=" karchive-dev qt5-qtbase-dev " makedepends="$depends_dev extra-cmake-modules samurai shared-mime-info " _repo_url="https://invent.kde.org/pim/kpkpass.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kpkpass-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" ad6b499bbc4d19804a1bbf11e812d34aa0420f2b147cdd0a381ddb4fcf718aa531e963bc7f6f36c45f51f68e38c6901ab8ff30704eda736486109cb0bb9e0908 kpkpass-23.04.3.tar.xz "