aports/community/ksshaskpass/APKBUILD
2025-05-09 06:12:35 +00:00

47 lines
1.1 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-plasma
maintainer="team/kde <bribbers@disroot.org>"
pkgname=ksshaskpass
pkgver=6.3.5
pkgrel=0
pkgdesc="ssh-add helper that uses kwallet and kpassworddialog"
# armhf blocked by qt6-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
qt6-qtbase-dev
samurai
"
case "$pkgver" in
*.*.9*) _rel=unstable;;
*) _rel=stable;;
esac
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/plasma/ksshaskpass.git"
source="https://download.kde.org/$_rel/plasma/$pkgver/ksshaskpass-$pkgver.tar.xz"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
be69967842e4af54d641c1e165499003a6eee0ea3a1a9117f5ae51d2f3b6d2e0dfa060eda497a446d8d12ba3142023c192a8a877cfd862573601935b0902ec84 ksshaskpass-6.3.5.tar.xz
"