updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / epiphany-extensions-svn / PKGBUILD
blob745cf6bf89ba33cb283c3e82ff488e6f5d09a405
1 # Contributor: Manuel Mazzuola <origin.of@gmail.com>
2 pkgname=epiphany-extensions-svn
3 pkgver=1712
4 pkgrel=1
5 pkgdesc="Various extentions for the Epiphany web browser"
6 url="http://www.gnome.org/projects/epiphany/"
7 license=('GPL')
8 depends=('epiphany-svn' 'python>=2.5' 'opensp')
9 makedepends=('pkgconfig' 'gnome-doc-utils>=0.12.2')
10 options=('!libtool' '!emptydirs')
11 arch=(i686 x86_64)
12 provides=('epiphany-extensions')
13 conflicts=('epiphany-extensions')
14 install=epiphany-extensions.install
15 source=()
16 md5sums=()
18 _svnmod="epiphany-extensions"
19 _svntrunk="http://svn.gnome.org/svn/epiphany-extensions/trunk"
21 build() {
23   cd $startdir/src
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