#Maintainer: George Vlahavas (vlahavas@gmail.com, gapan@zenwalk forums) pkgname=epiphany pkgver=2.22.2 pkgrel=1 zenver=52 arch=i486 source=("ftp://ftp.gnome.org/pub/gnome/sources/epiphany/2.22/epiphany-2.22.2.tar.bz2" "http://users.zenwalk.org/user-accounts/gapan/gnome/epiphany/gtkrc" "http://users.zenwalk.org/user-accounts/gapan/gnome/epiphany/epiphany-launch") docs=("readme" "install" "copying*" "changelog*" "authors" "news" "todo" "hacking" "maintainers") url=http://www.gnome.org/projects/epiphany/ 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 - the web browser for the GNOME desktop" "Epiphany is the web browser for the GNOME desktop. Its goal is to be" "simple and easy to use. Epiphany ties together many GNOME components" "in order to let you focus on the Web content, instead of the browser" "application. As part of the GNOME project, Epiphany is Free Software." "Powered by the Gecko engine, Epiphany displays webpages with the same" "speed and accuracy as Mozilla Firefox. In addition, it provides an" "elegant, responsive and uncomplicated user interface that fits in" "perfectly with GNOME, and it has been translated to over thirty" "languages! " ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-schemas-install --enable-python --disable-scrollkeeper --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" make || return 1 make install DESTDIR=$startdir/pkg # Do some tricks to show the moving throbber icon when not using gnome (epiphany acts stupid) mv $startdir/pkg/usr/bin/epiphany $startdir/pkg/usr/bin/epiphany-bin cp $startdir/src/epiphany-launch $startdir/pkg/usr/bin/epiphany chmod a+x $startdir/pkg/usr/bin/epiphany chown root:root $startdir/pkg/usr/bin/epiphany cp $startdir/src/gtkrc $startdir/pkg/usr/share/epiphany # 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 # Set www.zenwalk.org as the default homepage gconftool-2 --direct --config-source xml::$startdir/pkg/etc/gconf/gconf.xml.defaults --type string --set /apps/epiphany/general/homepage http://www.zenwalk.org }