# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksshaskpass pkgver=9999_git1688448222 pkgrel=0 pkgdesc="ssh-add helper that uses kwallet and kpassworddialog" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later" makedepends=" extra-cmake-modules kcoreaddons-dev kdoctools-dev ki18n-dev kwallet-dev kwidgetsaddons-dev qt5-qtbase-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/ksshaskpass-$pkgver.tar.xz" subpackages="$pkgname-doc " build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 78d37b37b6ae4c8e8b5ee90bcb8e440140684f1cfa318eed98e854016dc22bbd7edc3036776f778e5bc46c2859f5a4f44f6af7293368f98cff48575a7e37d050 ksshaskpass-5.27.6.tar.xz " options="$options !strip"