#Former Maintainer: Felipe Seré #Maintainer: Patrice Scolari pkgname=contacts pkgver=0.9 pkgrel=1 zenver=54 arch=i486 source=("http://pimlico-project.org/sources/contacts/$pkgname-$pkgver.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news") url="http://www.pimlico-project.org/contacts.html" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname ( simple, fast and lightweight addressbook application )" "Contacts is a small, lightweight addressbook that uses libebook, part" "of EDS. This is the same library that GNOME Evolution uses, so all" "contact data that exists in your Evolution addressbook is accessible" "via Contacts. Contacts features advanced vCard field type handling and" "is designed for use on hand-held devices, such as the Nokia 770 or the" "Sharp Zaurus series of PDAs." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-schemas-install --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" 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 }