pmaports/temp/ksshaskpass/APKBUILD

30 lines
935 B
Text

# Forked from Alpine to build Plasma 5.17 pre-release
pkgname=ksshaskpass
pkgver=5.16.90
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/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # broken with cross-compiling
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="a28cfb8cc639e3b1c6a6d571eb33abdb6a0f5c8eaa3b06ff38ea62035162423bb9a5b03e2dcf77e4dca80f53c3e182c3b45fefc5b0adf52d3ca42da0c976b801 ksshaskpass-5.16.90.tar.xz"