mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
33 lines
767 B
Bash
33 lines
767 B
Bash
#Contributiosn from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libksysguard
|
|
source ../plasma.conf
|
|
|
|
pkgname=libksysguard
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="KSysguard library"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kde/workspace/libksysguard'
|
|
license=('LGPL')
|
|
depends=('libxres' 'plasma-framework' 'qt5-webkit')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|