#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=evolution-data-server pkgver=2.26.3 pkgrel=2gv source=("http://ftp.gnome.org/pub/GNOME/sources/evolution-data-server/2.26/evolution-data-server-2.26.3.tar.bz2") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "hacking" "maintainers") url=www.gnome.org options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "evolution-data-server - Evolution Backend Data Server Library" "The Evolution Data Server provides a single database for common," "desktop-wide information, such as a user's address book or calendar" "events. It is also a dependency of the clock applet from the" "gnome-applets package." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-schemas-install --disable-calendar --enable-gnome-keyring=no --enable-nntp --with-openldap=/usr --with-nspr-includes=/usr/include/nspr --disable-static --without-weather --build=$arch-slackware-linux # --enable-gtk-doc shouldn't be set by default. Probably a bug sed -i -e "s/DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc/DISTCHECK_CONFIGURE_FLAGS = /" Makefile 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 gtk-doc rm -rf $startdir/pkg/usr/share/gtk-doc }