aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ksshaskpass/APKBUILD
blob: 0458ee04347c782deaaa840627c76c04b445bb36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ksshaskpass
pkgver=5.16.1
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/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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="1046c5e598b9c170767441d4ecff1f4def0e2f87fac97ab96dfe0ecb93dea903afb573172952c7d1362c9bad7ca8441a13c6a2922558a92bb6c9b13e316ea426  ksshaskpass-5.16.1.tar.xz"