# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksshaskpass pkgver=5.18.0 pkgrel=0 pkgdesc="ssh-add helper that uses kwallet and kpassworddialog" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev ki18n-dev kwallet-dev kwidgetsaddons-dev kdoctools-dev" source="https://download.kde.org/stable/plasma/$pkgver/ksshaskpass-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="b16c56845576c1d0c19deabd2a826d631eebef9307e93aded4f8b3f8bbeb02992a3d5e29278f1c2eeecf40c59c5e31612f2bf5125e7b5b65d04db3fb1d1abb94 ksshaskpass-5.18.0.tar.xz"