1 # Contributor: Russ Gibson <russ@russgibson.org>
2 # Maintener: Frederic Bezies <fredbezies@gmail.com>
7 pkgdesc="A news aggregator for GTK, git version."
9 url="http://liferea.sourceforge.net"
12 depends=('gtk3' 'gconf' 'libxml2' 'sqlite3' 'libxslt' 'libwebkit' 'libunique' 'json-glib' 'sqlite3' 'libnotify')
13 makedepends=('autoconf' 'intltool' 'git')
15 conflicts=('liferea' 'liferea-unstable')
25 _gitroot="git://liferea.git.sourceforge.net/gitroot/liferea/liferea"
30 msg "Connecting to GIT server...."
32 if [ -d $_gitname ] ; then
33 cd $_gitname && git pull origin
34 msg "The local files are updated."
36 git clone $_gitroot $_gitname
39 msg "GIT checkout done or server timeout"
40 msg "Starting make..."
42 rm -rf "$srcdir/$_gitname-build"
43 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
44 cd "$srcdir/$_gitname-build"
49 ./configure --prefix=/usr --disable-schema-install
51 make DESTDIR="$pkgdir/" install
53 install -d "${pkgdir}/usr/share/gconf/schemas"
54 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas
55 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas