# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-settings pkgver=0_git20190208 pkgrel=0 _commit="e4f4d768c1603799add19d1471927b9131cefe1e" 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_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=true ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="734df9d1cf515d7a8efa87c992e43eaaa321ba36445a5206f43140ce12a43b60a4e51ed1fe29c3c8294b542b3db35e0c6eb2e2c35fececa232f777ed71271532 plasma-settings-e4f4d768c1603799add19d1471927b9131cefe1e.tar.gz"