# Maintainer: Bart Ribbers pkgname=plasma-settings pkgver=0_git20200618 pkgrel=0 _commit="280f43d3ea5b546c616254b97fe0ef20af03365e" pkgdesc="Settings application for Plasma Mobile" arch="all !armhf" url="https://community.kde.org/Plasma/Mobile" license="GPL-2.0-or-later AND LGPL-2.1-or-later" depends="kirigami2 qt5-qtquickcontrols2 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 plasma-framework-dev kdeclarative-dev kio-dev kdelibs4support-dev" source="https://invent.kde.org/plasma-mobile/plasma-settings/-/archive/$_commit/plasma-settings-$_commit.tar.gz" options="!check" # No tests builddir="$srcdir/$pkgname-$_commit" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=true ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="99ab8c6b6370b6e6c55aff9d14b47929123b12a36a96f8307ac16d7ab0ca4ee0db3e9b91a201a7493485c5bebb29c34828f7ba9d016b12a6b96e66832d83c49c plasma-settings-280f43d3ea5b546c616254b97fe0ef20af03365e.tar.gz"