# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksshaskpass pkgver=5.20.90 pkgrel=0 pkgdesc="ssh-add helper that uses kwallet and kpassworddialog" # armhf blocked by qt5-qtdeclarative # s390x blocked by kwallet arch="all !armhf !s390x !mips64" 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 " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/ksshaskpass-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -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="7a04cee55b68994e6b5cbc363242372966559bc7f739131e2f145d543624a73364f75a60e552dad4d06e8df284d54b035c45632463c23f2136815de9a54d99fd ksshaskpass-5.20.90.tar.xz"