# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-plasma pkgname=ksshaskpass pkgver=5.27.7 pkgrel=1 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 _repo_url="https://invent.kde.org/plasma/ksshaskpass.git" source="https://download.kde.org/$_rel/plasma/$pkgver/ksshaskpass-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" _commit="" snapshot() { clean makedepends="git xz rsync tar" deps mkdir -p "$srcdir" && cd "$srcdir" git clone --filter=tree:0 https://invent.kde.org/plasma/ksshaskpass.git . git archive --format tar --prefix=$pkgname/ $_commit > ../$pkgname-$_commit.tar xz -vv -T0 -9 -e ../$pkgname-$_commit.tar } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 981351d1d8e4de5a779b3d3c4908f7cdfb1b156efa33b5673c7f35aeda95e69d9da0c1a61af0c44dcfd4fd0f516070b838b7e7ec3ddd70e75b2d35f34e6594bb ksshaskpass-5.27.7.tar.xz "