pkgname=plasma-settings pkgver=0_git20180113 pkgrel=0 _commit=bd185d5e19e2534966e63bd896e0a40837fdd6c3 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="a90ee1d8f727ed783efedd8c4e22967f834d2b06e2c0f85edd8c476b6d35ea70668dfd0bc7decbfa4916be2e5cff0188198aa4a6d22373fddc8d555b9421cf04 bd185d5e19e2534966e63bd896e0a40837fdd6c3.tar.gz"