# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=colord-kde pkgver=${_kdever} pkgrel=1 pkgdesc="Daemon that manages color profiles, including a KCM that manages colord profiles" url='https://dantti.wordpress.com/2012/03/12/coloring-you-desktop-with-colord-kde/' arch=('x86_64') license=('GPL') depends=('colord' 'libxrandr' 'kconfigwidgets6' 'kcoreaddons6' 'kdbusaddons6' 'ki18n6' 'kcmutils6' 'kwidgetsaddons6' 'kwindowsystem6' 'kitemmodels6') makedepends=('extra-cmake-modules') groups=('color') source=("$_mirror/${pkgname}-${_kdever}.tar.xz") md5sums=(`grep ${pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1`) build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }