mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
ksysguard: initial import
This commit is contained in:
parent
5356c2d00e
commit
2b2b326e04
39
ksysguard/PKGBUILD
Normal file
39
ksysguard/PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
source ../plasma.conf
|
||||
|
||||
pkgname=ksysguard
|
||||
pkgver=${PVersion}
|
||||
pkgrel=1
|
||||
pkgdesc="KSysguard"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://projects.kde.org'
|
||||
license=('LGPL')
|
||||
depends=('qt5-base' 'libksysguard' 'knewstuff')
|
||||
makedepends=('extra-cmake-modules')
|
||||
checkdepends=("cmake")
|
||||
groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||||
sha256sums=( $(getSum ${pkgname} | head -n 1) )
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=${PBuildType} \
|
||||
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
|
||||
-DLIB_INSTALL_DIR=lib
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd build
|
||||
make test || return 0
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user