#Maintainer: George Vlahavas pkgname=gnome-vfs pkgver=2.24.4 pkgrel=1gv source=("ftp://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.24/gnome-vfs-2.24.4.tar.bz2") docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo" "hacking" "maintainers") options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-vfs (the gnome virtual file system)" "This is the GNOME Virtual File System. It has mostly been replaced by" "gvfs now, but some old applications that haven't been updated still" "require it." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --disable-gtk-doc-html --disable-schemas-install --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" --build=$arch-slackware-linux 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 # we don't really need these rm -rf $startdir/pkg/usr/share/gtk-doc }