# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-settings pkgver=0_git20190504 pkgrel=0 _commit="8d9acc969ec02ee6041ced4fef63c9cc2fe66695" pkgdesc="Plasma Settings" arch="all" url="https://community.kde.org/Plasma/Mobile" license="LGPL-2.0+" depends="kirigami2 kded" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kwindowsystem-dev kcoreaddons-dev solid-dev kconfig-dev kauth-dev kdbusaddons-dev ki18n-dev kdeclarative-dev kio-dev kdelibs4support-dev karchive-dev kservice-dev kpackage-dev kconfigwidgets-dev kbookmarks-dev kcrash-dev kcompletion-dev kdesignerplugin-dev kdesignerplugin kjobwidgets-dev kdoctools-dev kemoticons-dev kguiaddons-dev kitemmodels-dev kinit-dev knotifications-dev kparts-dev kunitconversion-dev plasma-framework-dev" source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz" builddir="$srcdir/$pkgname-$_commit/build" prepare() { mkdir "$builddir" } build() { cd "$builddir" cmake .. \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=true ctest } package() { cd "$builddir" DESTDIR="$pkgdir" make install } sha512sums="14adc4c031748d319efa1a888d0274606b590aa6d2fea4ade5d43c3736f2ddb897d93104efc41b6d67b4d5e87f47fe3e360a5b776c385338cf87da859011d171 plasma-settings-8d9acc969ec02ee6041ced4fef63c9cc2fe66695.tar.gz"