#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com, gapan@zenwalk forums) pkgname=gnome-volume-manager pkgver=2.24.1 zenver=60 pkgrel=1 arch=i486 source=("http://ftp.acc.umu.se/pub/GNOME/sources/gnome-volume-manager/2.24/gnome-volume-manager-2.24.1.tar.bz2") sourcetemplate=http://pnboy.pinguix.com/gapan/gnome/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "hacking") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-volume-manager - daemon to auto-mount and manage media devices" "gnome-volume-manager is a GNOME daemon that acts as a policy agent in" "top of the kernel, udev, d-bus and HAL. It listens to HAL events and" "reacts with user-configurable actions. Currently it supports automount" "of new media and hot-plugged devices, autorun, autoplay for CDs and" "DVDs, and automatic camera management. It is expected to be simple and" "free of polling and other evil hacks." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --enable-multiuser --disable-schemas-install make || return 1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=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 }