diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-08-09 20:33:53 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-08-09 20:33:53 -0500 |
commit | d0b1ad4f096d419c79943865d44903bcfc9b1a68 (patch) | |
tree | edb204456fd0935866fef745be9a4b6965741134 /libre/sensors-applet | |
parent | 67461e914f9362487e9a2a980387bab5ebd02ef9 (diff) | |
download | abslibre-d0b1ad4f096d419c79943865d44903bcfc9b1a68.tar.gz abslibre-d0b1ad4f096d419c79943865d44903bcfc9b1a68.tar.bz2 abslibre-d0b1ad4f096d419c79943865d44903bcfc9b1a68.zip |
sensors-applet: add new package to [libre] - Freedom issue #1051 -> https://labs.parabola.nu/issues/1051
Diffstat (limited to 'libre/sensors-applet')
-rw-r--r-- | libre/sensors-applet/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/sensors-applet/PKGBUILD b/libre/sensors-applet/PKGBUILD new file mode 100644 index 000000000..0b5bfd753 --- /dev/null +++ b/libre/sensors-applet/PKGBUILD @@ -0,0 +1,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 +} |