summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9dd3d39bd8c74d2c4a9da46b16191eb35cc9fc6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Maintainer: Volodymyr Zolotopupov <zvova7890@gmail.com>

pkgname=ksysguard6-git
pkgver=r3602.5794f61
pkgrel=1
pkgdesc='Track and control the processes running in your system. KF6 version'
arch=(x86_64)
url='https://github.com/zvova7890/ksysguard6'
license=(LGPL)
depends=(gcc-libs
         glibc
         kcompletion
         kconfig
         kconfigwidgets
         kcoreaddons
         kdbusaddons
         ki18n
         kiconthemes
         kio
         knewstuff
         knotifications
         ksystemstats
         kwidgetsaddons
         kwindowsystem
         kxmlgui
         libksysguard
         lm_sensors
         qt6-base
         zlib)
makedepends=(extra-cmake-modules
             kdoctools
             git)
source=(git+https://github.com/zvova7890/ksysguard6.git#branch=kf6)
sha256sums=('SKIP')


pkgver() {
  cd ksysguard6
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

build() {
  cmake -B build -S ksysguard6 \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}