#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/ksysguard source ../plasma.conf pkgname=ksysguard pkgver=${PVersion} pkgrel=2 pkgdesc="KSysguard" arch=('x86_64') url='https://projects.kde.org/projects/kde/workspace/ksysguard' license=('LGPL') depends=(knewstuff libksysguard lm_sensors hicolor-icon-theme kinit) makedepends=(extra-cmake-modules kdoctools python3) groups=('plasma') options=("debug") source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig}) sha256sums=( $(getSum ${pkgname} | head -n 1) 'SKIP' ) validpgpkeys=(${Pvalidpgpkeys[@]}) install=${pkgname}.install prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} \ -DPYTHON_EXECUTABLE=/usr/bin/python3 make } package() { cd build make DESTDIR="${pkgdir}" install }