community/mate-sensors-applet to 1.20.1-1

This commit is contained in:
Kevin Mihelich 2018-03-05 19:01:22 +00:00
parent 093bcc3da1
commit 00fac15920

View file

@ -1,11 +1,11 @@
# Maintainer: # Maintainer: Brad Fanella <cesura@archlinux.org>
# Contributor: Martin Wimpress <code@flexion.org> # Contributor: Martin Wimpress <code@flexion.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - drop dependency on libxnvctrl (nvidia-settings) # - drop dependency on libxnvctrl (nvidia-settings)
pkgname=mate-sensors-applet pkgname=mate-sensors-applet
pkgver=1.20.0 pkgver=1.20.1
pkgrel=1 pkgrel=1
pkgdesc="A MATE Panel applet to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings" pkgdesc="A MATE Panel applet to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings"
url="https://mate-desktop.org" url="https://mate-desktop.org"
@ -17,21 +17,21 @@ groups=('mate-extra')
conflicts=('mate-sensors-applet-gtk3') conflicts=('mate-sensors-applet-gtk3')
replaces=('mate-sensors-applet-gtk3') replaces=('mate-sensors-applet-gtk3')
source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz") source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('338ecc180069797f4c87588290fdf9d9ee939ed6871fd1ee223028c053fe48fa') sha256sums=('bd00e792ec3948bf895c8ff590184da30fa5614bc6969d450cfc8381a51cd952')
build() { build() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libexecdir=/usr/lib/${pkgname} --libexecdir=/usr/lib/${pkgname}
#https://bugzilla.gnome.org/show_bug.cgi?id=656231 #https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make make
} }
package() { package() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
} }