# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwallet pkgver=5.58.0 pkgrel=0 pkgdesc="Secure and unified container for user passwords" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="libgcrypt-dev kcoreaddons-dev kconfig-dev kwindowsystem-dev ki18n-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev knotifications-dev kservice-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen graphviz kdoctools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { local excluded_checks= case "$CARCH" in s390x) excluded_checks="(blowfishtest)";; esac CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "$excluded_checks" } package() { DESTDIR="$pkgdir" make install } sha512sums="7145510aa75c179a7c283f26c6d479d753a435a14e423881793ef061b3dc6144c4126365719118b3fdd5d36560a706b36cb003d829d3c469f6f0844351ddc4f4 kwallet-5.58.0.tar.xz"