#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com, gapan@zenwalk forums) pkgname=computertemp pkgver=0.9.6.1 pkgrel=1 zenver=60 arch=i486 source=(http://download.berlios.de/computertemp/computertemp-0.9.6.1.tar.gz) sourcetemplate=http://pnboy.pinguix.com/gapan/gnome/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://computertemp.berlios.de/ options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "computertemp - Computer Temperature Monitor for GNOME" "Computer Temperature Monitor is a little applet for the GNOME desktop" "that shows the temperature of your computer CPU and disks on screen." "It also allows you to log temperatures to a file. You can set alarms" "to notify you when a tempertature is reached. Several monitors can be" "added to the panel to monitor different sensors. It is designed to" "look like CPU Frequency Gnome applet, so they match each other on" "panel." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-schemas-install --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" --disable-static make || return 1 make install DESTDIR=$startdir/pkg # gconf stuff export GCONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/gconf/gconf.xml.defaults" if [ -d $startdir/pkg/etc/gconf/schemas ]; then install -v -d -m755 $startdir/pkg/etc/gconf/gconf.xml.defaults SCHEMAS=$startdir/pkg/etc/gconf/schemas for schema in $SCHEMAS/*.schemas; do gconftool-2 --makefile-install-rule $schema done # Reset / Verify correct permissions ( cd $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi }