#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented out is optional and can be deleted. pkgname=xfce4-sensors-plugin pkgver=20100101 pkgrel=1rl arch=x86_64 source=(xfce4-sensors-plugin-${pkgver}.src.tar.gz \ hddtemp_fix.patch) sourcetemplate=http://people.salixos.org/laprjns/$arch/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin #dotnew=() CFLAGS="-O2 -fPIC" CXXFLAGS="-O2 -fPIC" #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xfce4-sensors-plugin is a hardware sensors plugin for the panel." "This xfce panel plugin requires libsensors to display your mainboard" "sensors and fan speeds. Furthermore, it supports hddtemp to" "surveil your hard disk’s temperature values" ) build() { cd $startdir/src/$pkgname patch -p2 < ../../hddtemp_fix.patch ./autogen.sh \ --prefix=/usr \ --libdir=/usr/lib64 \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-libsensors=yes \ --enable-hddtemp=yes make || return 1 make install DESTDIR=$startdir/pkg }