updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / evolution-rss-git / PKGBUILD
blobd68e9e99ce7c9b84dbbc88d090d12b9072885d2d
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 _pkgname=evolution-rss
3 pkgname=$_pkgname-git
4 pkgver=20120101
5 pkgrel=1
6 pkgdesc="Plugin for Evolution Mail that enables reading of RSS/RDF/ATOM feeds"
7 arch=('i686' 'x86_64')
8 url="http://gnome.eu.org/index.php/Evolution_RSS_Reader_Plugin"
9 license=('GPL')
10 depends=('evolution')
11 makedepends=('git' 'gnome-common' 'intltool')
12 provides=("$_pkgname=pkgver")
13 conflicts=("$_pkgname")
14 options=('!libtool')
15 install=$_pkgname.install
17 _gitroot="git://git.gnome.org/evolution-rss"
18 _gitname="evolution-rss"
20 build() {
21   cd "$srcdir"
22   msg "Connecting to GIT server...."
24   if [ -d $_gitname ] ; then
25     cd $_gitname && git pull origin
26     msg "The local files are updated."
27   else
28     git clone $_gitroot $_gitname
29   fi
31   msg "GIT checkout done or server timeout"
32   msg "Starting make..."
34   rm -rf "$srcdir/$_gitname-build"
35   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36   cd "$srcdir/$_gitname-build"
38   #
39   # BUILD HERE
40   #
42   ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
43                --disable-static --disable-schemas-install \
44                --with-gconf-schema-file-dir=/usr/share/gconf/schemas
45   make
48 package() {
49   cd "$srcdir/$_gitname-build"
51   make DESTDIR="$pkgdir/" install