#Packager: George Vlahavas pkgname=libcanberra pkgver=0.26 pkgrel=1gv source=(http://0pointer.de/lennart/projects/libcanberra/libcanberra-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "lgpl") url=http://0pointer.de/lennart/projects/libcanberra/ options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libcanberra (XDG Sound Theme and Name Specifications)" "libcanberra is an implementation of the XDG Sound Theme and Name" "Specifications, for generating event sounds on free desktops, such as" "GNOME. It comes with several backends (ALSA, PulseAudio, OSS," "GStreamer, null) and is designed to be portable." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --disable-schemas-install --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" --disable-gtk-doc-html --disable-lynx --disable-oss 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 # remove gtk-doc rm -rf $startdir/pkg/usr/share/gtk-doc }