# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=user-manager pkgver=5.17.2 pkgrel=0 pkgdesc="A simple system settings module to manage the users of your system" arch="all" url='https://www.kde.org/workspaces/plasmadesktop/' license="GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev kwidgetsaddons-dev kcoreaddons-dev ki18n-dev kconfig-dev kconfigwidgets-dev kcmutils-dev kio-dev kiconthemes-dev kauth-dev libpwquality-dev" source="https://download.kde.org/stable/plasma/$pkgver/user-manager-$pkgver.tar.xz" subpackages="$pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="50d00e70ad1a222c73b9a035bdd48506e75825875d8ac7be848da3ebf66a972b5ed0bbfda2c727f1970f4d2ee17b581259b94ff0a6ab726ac33772c8b6aa991e user-manager-5.17.2.tar.xz"