From 953eead14ccfe47904e73cee9cea6e1255f57356 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 17 Jan 2014 03:43:05 +0000 Subject: Fri Jan 17 03:37:47 UTC 2014 --- community/mate-sensors-applet/PKGBUILD | 34 ++++++++++++++++++++++ .../mate-sensors-applet.install | 12 ++++++++ 2 files changed, 46 insertions(+) create mode 100644 community/mate-sensors-applet/PKGBUILD create mode 100644 community/mate-sensors-applet/mate-sensors-applet.install (limited to 'community/mate-sensors-applet') diff --git a/community/mate-sensors-applet/PKGBUILD b/community/mate-sensors-applet/PKGBUILD new file mode 100644 index 000000000..c78432fa8 --- /dev/null +++ b/community/mate-sensors-applet/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 104246 2014-01-16 18:03:24Z flexiondotorg $ +# Maintainer : Martin Wimpress +# Contributor: Giovanni Ricciardi +# Contributor: Xpander + +pkgname=mate-sensors-applet +pkgver=1.6.1 +pkgrel=1 +pkgdesc="A MATE Panel applet to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus' 'gtk2' 'libatasmart' 'libnotify' 'libxnvctrl' 'lm_sensors' 'mate-panel' ) +makedepends=('docbook-xml' 'mate-common' 'mate-doc-utils' 'perl-xml-parser' 'rarian') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('3b57d8e4b47ff2b25bbcee465c0ef7c37bcff1f7') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-sensors-applet/mate-sensors-applet.install b/community/mate-sensors-applet/mate-sensors-applet.install new file mode 100644 index 000000000..7af080f58 --- /dev/null +++ b/community/mate-sensors-applet/mate-sensors-applet.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf