community/sensors-applet to 3.0.0+13+g0728426-5

This commit is contained in:
Kevin Mihelich 2022-04-25 12:53:54 +00:00
parent 3d0b02d560
commit 64c59a6df7

View file

@ -5,18 +5,18 @@
pkgname=sensors-applet
pkgver=3.0.0+13+g0728426
pkgrel=4
pkgdesc="Applet for GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings"
pkgrel=5
pkgdesc='Applet for GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings'
arch=('x86_64')
url="http://sensors-applet.sourceforge.net/"
url='http://sensors-applet.sourceforge.net/'
license=('GPL')
depends=('gnome-panel' 'libatasmart' 'lm_sensors')
makedepends=('git' 'gnome-common' 'intltool' 'yelp-tools')
optdepends=('hddtemp: get HDD temperatures')
_commit=07284262768e3a7066da09845370d78526be6bc1 # master
source=("$pkgname::git+https://git.code.sf.net/p/sensors-applet/code#commit=$_commit"
fix-crash-destroying-active-sensor.patch
port-to-libgnome-panel.patch)
'fix-crash-destroying-active-sensor.patch'
'port-to-libgnome-panel.patch')
sha256sums=('SKIP'
'9c4cc2accf326c44cb625f5db0b82a782351cdf8829f1a4067a30f287b6b7156'
'cb0e35e0d6e6568f14836da7e5b78154bd4d9a4127f0f6dd476e4f7c9d62339d')
@ -35,11 +35,8 @@ prepare() {
build() {
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}