summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-12-12 01:42:16 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-12-12 01:42:16 -0600
commit5317fd6311eb5eebc0f448119c013e868b9a463f (patch)
treed68a5525e2c925066924abf13b8a5a647e8c2e70 /user
parent50594963aed6401c9e4c8ee255a57f82c07e1e61 (diff)
downloadpackages-5317fd6311eb5eebc0f448119c013e868b9a463f.tar.gz
packages-5317fd6311eb5eebc0f448119c013e868b9a463f.tar.bz2
packages-5317fd6311eb5eebc0f448119c013e868b9a463f.tar.xz
packages-5317fd6311eb5eebc0f448119c013e868b9a463f.zip
user/kwalletmanager: new package
Diffstat (limited to 'user')
-rw-r--r--user/kwalletmanager/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/user/kwalletmanager/APKBUILD b/user/kwalletmanager/APKBUILD
new file mode 100644
index 000000000..a6c568e66
--- /dev/null
+++ b/user/kwalletmanager/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kwalletmanager
+pkgver=17.08.2
+pkgrel=0
+pkgdesc="Manage KDE wallets"
+url="https://www.kde.org/applications/system/kwalletmanager/"
+arch="all"
+license="GPL-2.0"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev karchive-dev kauth-dev
+ kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kio-dev
+ kdoctools-dev ki18n-dev kiconthemes-dev kjobwidgets-dev kcmutils-dev
+ knotifications-dev kservice-dev ktextwidgets-dev kwallet-dev kcrash-dev
+ kwindowsystem-dev kxmlgui-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/kwalletmanager-$pkgver.tar.xz"
+builddir="$srcdir/kwalletmanager-$pkgver"
+
+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="a8db16932932bc0abbdc2bdb17e48c2e6f7407e2f1236c92ae1e700db9e108a51debc3c40ccdc86ba94c523226dc71682c36aa242ddbc9c4c6326c61fec2f5b0 kwalletmanager-17.08.2.tar.xz"