#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=libgnome pkgver=2.28.0 pkgrel=1gv arch=x86_64 source=("ftp://ftp.gnome.org/pub/gnome/sources/libgnome/2.28/libgnome-$pkgver.tar.bz2") docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo" "maintainers") url=ftp://ftp.gnome.org/pub/gnome/sources/libgnome options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libgnome - libraries needed for Gnome" "The libgnome package includes libraries essential to running the gnome" "desktop environment and associated applications." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var/lib --sysconfdir=/etc --enable-esd --disable-schemas-install --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" make -j3 || 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 # Enable esd by default gconftool-2 --direct --config-source xml::$startdir/pkg/etc/gconf/gconf.xml.defaults --type boolean --set /desktop/gnome/sound/enable_esd true # we don't really need these rm -rf $startdir/pkg/usr/share/gtk-doc }