#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=nautilus-actions pkgver=3.1.5 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/nautilus-actions/3.1/nautilus-actions-$pkgver.tar.xz" ) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "copying-docs" "copying.lib" "changelog*" "authors" "news" "todo" "hacking" "maintainers" "thanks") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # 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------------------------------------------------------| "nautilus-action - Nautilus-Actions plugins" "Nautilus-actions is an extension for Nautilus file manager which" "allows the user to add arbitrary program to be launched through the" "Nautilus file manager popup menu of selected files." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-schemas-install --disable-update-mimedb --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" --disable-gtk-doc 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 need gtk-doc rm -rf $startdir/pkg/usr/share/gtk-doc }