blob: d83ee463a94f16ee6b338b264df540531153f5fd (
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
|
# Maintainer: David Edmundson <davidedmundson at kde dot org>
# Maintainer: Henri Chain <henri dot chain at enioka dot com>
pkgname=kcgroups-git
pkgver=r48.9fd6379
pkgrel=1
pkgdesc="KDE library to manipulate cgroups (and boost foreground apps)"
arch=('i686' 'x86_64')
url="https://invent.kde.org/libraries/kcgroups.git"
license=('GPL2')
depends=('qt5-base' 'kwindowsystem' 'kconfig' 'kdbusaddons')
makedepends=('cmake' 'extra-cmake-modules' 'git')
options=()
source=("git+https://invent.kde.org/libraries/kcgroups.git")
md5sums=( 'SKIP')
pkgver() {
cd "kcgroups"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build () {
cd build
cmake ../kcgroups \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Debug
make
}
package() {
cd "build"
make DESTDIR="${pkgdir}" install
}
|