diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-08-13 20:33:17 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-08-13 20:33:17 -0500 |
commit | fe73c6726d92855b276f3dd78f7c64608091494a (patch) | |
tree | 1ada11410f1612ee55c72990fb9caa02c8986cde /libre/sensors-applet | |
parent | 3e7c8239f52eb7691864e9e218c357ab70e8a8a3 (diff) |
sensors-applet-3.0.0-8.parabola1: Update to latest git snapshot, fix missing source
Diffstat (limited to 'libre/sensors-applet')
-rw-r--r-- | libre/sensors-applet/PKGBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/libre/sensors-applet/PKGBUILD b/libre/sensors-applet/PKGBUILD index efae5cfd4..9bf8f4bee 100644 --- a/libre/sensors-applet/PKGBUILD +++ b/libre/sensors-applet/PKGBUILD @@ -3,31 +3,35 @@ pkgname=sensors-applet pkgver=3.0.0 -_gitrev=1e38ad607b6a6a0f370dd67f5e94c8a11e03eae5 -pkgrel=7.parabola1 +_gitrev=07284262768e3a7066da09845370d78526be6bc1 +pkgrel=8.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' 'armv7h') +arch=('i686' 'x86_64') url="http://sensors-applet.sourceforge.net/" license=('GPL') -depends=('gnome-panel' 'libatasmart' 'lm_sensors') +depends=('git' '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') +source=($pkgname::git://git.code.sf.net/p/sensors-applet/code#commit=$_gitrev) +sha256sums=('SKIP') prepare() { - cd $pkgname-code-$_gitrev + cd $pkgname NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname-code-$_gitrev + cd $pkgname ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make } package() { - cd $pkgname-code-$_gitrev + cd $pkgname make DESTDIR="$pkgdir" install } |