blob: ef820e86fadb447e15f934aea08a70d7013a64da (
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
|
# Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com>
_upstream_name=plasma-applet-resources-monitor
pkgname=plasma5-applets-resources-monitor
_pkgver="2.10.2"
pkgver="${_pkgver/-/_}"
pkgrel=3
pkgdesc="Plasma 5 applet for monitoring CPU and RAM"
arch=('any')
url="https://www.pling.com/p/1527636/"
license=('GPL')
depends=(
'libksysguard'
'plasma-workspace'
'qt5-graphicaleffects'
)
optdepends=()
makedepends=(
'extra-cmake-modules'
'kdelibs4support'
)
source=("https://github.com/orblazer/${_upstream_name}/archive/v${_pkgver}.tar.gz")
sha256sums=('72754a6c878d419cedbbdd369bdd97ef550dddba94b7e126294ec4c6f006456f')
build() {
cd "$srcdir/$_upstream_name-$_pkgver"
mkdir -p build
cmake -B build \
-DCMAKE_INSTALL_PREFIX="$(kf5-config --prefix)" \
-DCMAKE_BUILD_TYPE=Release
cmake --build build
}
package() {
cd "$srcdir/$_upstream_name-$_pkgver"
DESTDIR="${pkgdir}" cmake --install build
}
|