#Packager: George Vlahavas pkgname=mate-sensors-applet pkgver=1.24.1 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1slint source=("http://pub.mate-desktop.org/releases/${_majorver}/mate-sensors-applet-${pkgver}.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") options=('noautodotnew' 'nosrcpack') doinst() { # compile schemas if [ -x /usr/bin/glib-compile-schemas ]; then /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-sensors-applet (hardware sensors applet for Mate)" "MATE Sensors Applet is an applet for the MATE Panel to display" "readings from hardware sensors, including system and CPU temperature," "fan speeds, and voltage readings under Linux via the hwmon and i8k" "kernel modules. It has a highly customizable display and an intuitive" "user interface." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-schemas-compile \ --disable-static \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }