PKGBUILDs/community/psensor/PKGBUILD

38 lines
1 KiB
Bash
Raw Normal View History

2018-04-29 22:01:41 +00:00
# Maintainer: Robin Broda <robin@broda.me>
# 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
pkgrel=1
2018-04-29 22:01:41 +00:00
pkgdesc='A graphical hardware temperature monitor for Linux'
arch=('x86_64')
url='https://wpitchoune.net/psensor'
license=('GPL2')
depends=('lm_sensors' 'dconf' 'gtk3' 'udisks2' 'curl' 'libgtop' 'libnotify'
2018-05-03 23:14:19 +00:00
'json-c' 'libmicrohttpd')
2018-04-29 22:01:41 +00:00
makedepends=('help2man')
2020-12-21 03:32:24 +00:00
source=("https://wpitchoune.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz")
sha512sums=('931b8ab654cd708d128e0a659e94049fa69dd33dc354b17ef08e05b8da65588f5c5c1c2a4a42f7341a7990f999152c9aebf3c58484eea38e476034d60ac2ff41')
2018-04-29 22:01:41 +00:00
prepare() {
2020-12-21 03:32:24 +00:00
find $pkgname-$pkgver -name Makefile* | xargs sed -e 's|-Werror||g' -i # Kill -Werror
2018-04-29 22:01:41 +00:00
}
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}