#Packager: George Vlahavas pkgname=epiphany-extensions pkgver=2.28.1 pkgrel=1gv source=(http://ftp.acc.umu.se/pub/GNOME/sources/epiphany-extensions/2.28/epiphany-extensions-$pkgver.tar.bz2) docs=("readme" "install" "copying*" "changelog*" "authors" "news" "todo" "hacking") options=('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 } 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 --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --disable-schemas-install --disable-scrollkeeper --with-omf-dir=/usr/share/omf --with-extensions=all --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 # useless stuff rm -rf $startdir/pkg/usr/share/gnome rm -rf $startdir/pkg/usr/share/omf }