1 # Contributor: Manuel Mazzuola <origin.of@gmail.com>
2 pkgname=epiphany-extensions-svn
5 pkgdesc="Various extentions for the Epiphany web browser"
6 url="http://www.gnome.org/projects/epiphany/"
8 depends=('epiphany-svn' 'python>=2.5' 'opensp')
9 makedepends=('pkgconfig' 'gnome-doc-utils>=0.12.2')
10 options=('!libtool' '!emptydirs')
12 provides=('epiphany-extensions')
13 conflicts=('epiphany-extensions')
14 install=epiphany-extensions.install
18 _svnmod="epiphany-extensions"
19 _svntrunk="http://svn.gnome.org/svn/epiphany-extensions/trunk"
24 msg "Connecting to svn.gnome.org svn server...."
25 svn co $_svntrunk $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 cd $startdir/src/$_svnmod
31 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-extensions=all --disable-scrollkeeper || return 1
32 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-extensions=all --disable-scrollkeeper || return 1
33 make LDFLAGS+="-R /usr/lib/xulrunner" || return 1
34 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
35 install -m755 -d ${startdir}/pkg/usr/share/gconf/schemas
36 gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/epiphany-extensions.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas || return 1
37 rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas