#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=seahorse-plugins pkgver=2.30.1 zenver=66 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/seahorse-plugins/2.30/$pkgname-$pkgver.tar.bz2" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname/gpgme-init.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "hacking" "maintainers" "thanks") url=http://live.gnome.org/Seahorse options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "seahorse-plugins - (Plugins for seahorse)" "seahorse plugins and utilities for encryption in GNOME." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < ../gpgme-init.patch ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --enable-libnotify --disable-schemas-install \ --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" \ --disable-scrollkeeper --disable-update-mime-database --disable-static 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 }