#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=gnome-mount pkgver=0.8 pkgrel=1gv arch=x86_64 source=("http://hal.freedesktop.org/releases/gnome-mount-$pkgver.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://hal.freedesktop.org options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-mount (Storage Media Mounting Tool for GNOME)" "The gnome-mount package contains programs for mounting, unmounting" "and ejecting storage devices. The goal for gnome-mount is to get the" "appropriate GNOME software (such as gnome-volume-manager and" "GNOME-VFS) to use this instead of invoking mount/umount/eject or" "direct HAL invoking methods." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --mandir=/usr/man --disable-nautilus-extension --disable-schemas-install --disable-static --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" 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 # Set default mount options for vfat and optical drives gconftool-2 --direct --config-source xml::$startdir/pkg/etc/gconf/gconf.xml.defaults --type list --list-type string --set /system/storage/default_options/vfat/mount_options "[shortname=lower,uid=,utf8]" gconftool-2 --direct --config-source xml::$startdir/pkg/etc/gconf/gconf.xml.defaults --type list --list-type string --set /system/storage/default_options/iso9660/mount_options "[uid=,utf8]" }