2021-05-23 16:39:49 +00:00
|
|
|
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
|
|
|
|
# Contributor: Robin Broda <robin@broda.me>
|
2018-04-29 22:01:41 +00:00
|
|
|
# Contributor: X0rg
|
|
|
|
# Contributor: marlock <marlock87@hotmail.com>
|
|
|
|
# Contributor: Diogo Leal <estranho@diogoleal.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove depend on libxnvctrl
|
|
|
|
|
|
|
|
pkgname=psensor
|
2020-12-21 03:32:24 +00:00
|
|
|
pkgver=1.2.1
|
2021-05-23 16:39:49 +00:00
|
|
|
pkgrel=2
|
|
|
|
pkgdesc='Graphical hardware temperature monitoring application'
|
2018-04-29 22:01:41 +00:00
|
|
|
arch=('x86_64')
|
|
|
|
url='https://wpitchoune.net/psensor'
|
|
|
|
license=('GPL2')
|
2021-05-23 16:39:49 +00:00
|
|
|
depends=('curl' 'gtk3' 'json-c' 'libgtop' 'libmicrohttpd' 'libnotify' 'lm_sensors'
|
|
|
|
'udisks2')
|
|
|
|
source=("https://wpitchoune.net/$pkgname/files/$pkgname-$pkgver.tar.gz"
|
|
|
|
'psensor.appdata.xml')
|
|
|
|
sha256sums=('084f785d169f533d3010e50c5933436ed427afc70d41740b762f1db5034833ab'
|
|
|
|
'f8079f06959447af0baf3b00ab74cbf6d9ed55a2995114071189cf501bc55009')
|
2018-04-29 22:01:41 +00:00
|
|
|
|
|
|
|
prepare() {
|
2021-05-23 16:39:49 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
sed -i 's/ -Werror//' {src/lib,src/server,tests}/Makefile.{am,in}
|
2018-04-29 22:01:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2021-05-23 16:39:49 +00:00
|
|
|
cd $pkgname-$pkgver
|
2018-04-29 22:01:41 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-05-23 16:39:49 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
|
2018-04-29 22:01:41 +00:00
|
|
|
}
|