diff options
Diffstat (limited to 'user/kwalletmanager')
-rw-r--r-- | user/kwalletmanager/APKBUILD | 47 |
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" |