1 #Maintainer: Nezmer <Nezmer@allurelinux.org>
2 pkgname=libsoup-gnome-git
5 pkgdesc="Gnome HTTP Library with gnome integration enabled /git repo"
7 url="http://live.gnome.org/LibSoup"
9 depends=('gnome-keyring' 'libproxy')
10 makedepends=('intltool' 'gtk-doc' 'git' 'gnome-common')
11 provides=('libsoup=2.29.0' 'libsoup-git')
12 conflicts=('libsoup' 'libsoup-newest' 'libsoup-git' 'libsoup-gnome')
13 replaces=('libsoup' 'libsoup-newest' 'libsoup-git' 'libsoup-gnome')
17 _gitroot="git://git.gnome.org/libsoup"
23 msg "Connecting to the epiphany git repository..."
25 if [ -d "$srcdir/$_gitname" ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build/"
39 ./autogen.sh --prefix=/usr --sysconfdir=/etc \
40 --localstatedir=/var --disable-static --with-gnome --disable-gtk-doc || return 1
42 make DESTDIR="$pkgdir" install || return 1