pkgname=plasma-settings pkgver=0_git20171220 pkgrel=0 _commit=6e5fd15b78bb375cdf8ce4e057fb8da2dc67a844 pkgdesc="Plasma Settings" arch="all" url="https://community.kde.org/Plasma/Mobile" license="GPL-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="https://github.com/kde/$pkgname/archive/$_commit.tar.gz" builddir="$srcdir/build" prepare() { mkdir "$builddir" } build() { cd "$builddir" cmake "$srcdir"/$pkgname-$_commit \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ -DCMAKE_BUILD_TYPE=Release make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir/" install } sha512sums="c3bda57c3e269dba19a6463355858b36a06e780485bf1265524d0ec3c642e66dd429c77fd6df3c28a4612bf48095bc9ce695cec297bdbc499f6f218b21575880 6e5fd15b78bb375cdf8ce4e057fb8da2dc67a844.tar.gz"