# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksshaskpass pkgver=5.17.2 pkgrel=0 pkgdesc="ssh-add helper that uses kwallet and kpassworddialog" arch="all" 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="8f3d981a2098426f1e4a23e9caa229eae176bcd236012c8e97a58249970c4ed92496d6d5c65fc95e40e2d9254911fce637710fb317a74613c0b0b0c97f902c1a ksshaskpass-5.17.2.tar.xz"