summaryrefslogtreecommitdiff
path: root/libre/sensors-applet/PKGBUILD
blob: 0b5bfd7537506c2eef2179d5885c50e22b933ded (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
# Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=sensors-applet
pkgver=3.0.0
_gitrev=1e38ad607b6a6a0f370dd67f5e94c8a11e03eae5
pkgrel=7.parabola1
pkgdesc="Applet for GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings, without nonfree libxnvctrl support"
arch=('i686' 'x86_64')
url="http://sensors-applet.sourceforge.net/"
license=('GPL')
depends=('gnome-panel' 'libatasmart' 'lm_sensors')
makedepends=('gnome-common' 'intltool' 'yelp-tools')
optdepends=('hddtemp: get HDD temperatures'
            'udisks: get HDD temperatures')
source=(https://sourceforge.net/code-snapshots/git/s/se/$pkgname/code.git/$pkgname-code-$_gitrev.zip)
sha256sums=('7515f7f8a2da15763d2f58add5a91b1c5ac72f622d14ad47d0a9c11183b08edd')

prepare() {
  cd $pkgname-code-$_gitrev
  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd $pkgname-code-$_gitrev
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname
  make
}

package() {
  cd $pkgname-code-$_gitrev
  make DESTDIR="$pkgdir" install
}