summaryrefslogtreecommitdiff
path: root/user/ksshaskpass
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 17:35:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 17:35:18 +0000
commitde896e8ec256a0857b7b4c3b6eee57ac167b15bd (patch)
tree3a85d4b33560edd3b98bebd40519bb590f3d69fc /user/ksshaskpass
parent5eca3dd0e718504077b38931d0cb67318685df76 (diff)
downloadpackages-de896e8ec256a0857b7b4c3b6eee57ac167b15bd.tar.gz
packages-de896e8ec256a0857b7b4c3b6eee57ac167b15bd.tar.bz2
packages-de896e8ec256a0857b7b4c3b6eee57ac167b15bd.tar.xz
packages-de896e8ec256a0857b7b4c3b6eee57ac167b15bd.zip
user/ksshaskpass: new package
Diffstat (limited to 'user/ksshaskpass')
-rw-r--r--user/ksshaskpass/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/ksshaskpass/APKBUILD b/user/ksshaskpass/APKBUILD
new file mode 100644
index 000000000..513a419e1
--- /dev/null
+++ b/user/ksshaskpass/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=ksshaskpass
+pkgver=5.12.7
+pkgrel=0
+pkgdesc="Plasma integration for SSH agents"
+url="https://www.KDE.org/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev
+ kdoctools-dev ki18n-dev kwallet-dev kwidgetsaddons-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.kde.org/stable/plasma/$pkgver/ksshaskpass-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0c613b5263721a510844b24f4311d906f229acdbb72967902973f995b88973f68f13fd098bf702d1281023f17eafb87de388589062da1b58923479e6fe831a7a ksshaskpass-5.12.7.tar.xz"