blob: 424cdeb845df34177d9fcfdec85f688f680f3a62 (
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
|
pkgname=intel-thermalmonitor-git
pkgver=v1.4.2.r515.g950d6b0
pkgrel=1
pkgdesc="Intel's ThermalMonitor QT5 tool for monitoring thermald"
arch=('any')
url="https://github.com/intel/thermal_daemon/tree/master/tools/thermal_monitor"
license=('GPL3')
makedepends=('git' 'qt5-base')
source=("$pkgname::git+https://github.com/intel/thermal_daemon.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname/tools/thermal_monitor"
qmake-qt5 ThermalMonitor.pro
make
}
package() {
cd "$srcdir/$pkgname/tools/thermal_monitor"
install -Dm755 ThermalMonitor $pkgdir/usr/bin/ThermalMonitor
}
|