#Maintainer: George Vlahavas (vlahavas@gmail.com, gapan@zenwalk forums) pkgname=epiphany-extensions pkgver=2.22.2 pkgrel=1 zenver=52 arch=i486 source=("ftp://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/2.22/epiphany-extensions-2.22.2.tar.bz2") docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo" "hacking") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile') doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "epiphany-extensions - Extensions for the Epiphany web browser" "This package adds extra features to GNOME's Epiphany web browser," "including action, adblocking, auto-reload, auto-scroller, console," "extensions manager, find, greasemonkey, javaconsole, mouse gestures," "move tabs between windows, python-console, pushscroller, rss" "extension, error viewer and validator, certificate viewer, sidebar," "smart bookmarks, page info, CSS Stylesheet, favicon.ico, tab states" "and a GNOME Dashboard interface." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-schemas-install --disable-scrollkeeper --with-omf-dir=/usr/share/omf --with-extensions=all --with-gecko=xulrunner --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 }