updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / dates-git / PKGBUILD
blobbd29adc4628a525cef090ec5e24ce569dea0ad71
1 # Maintainer: Robert Chmielowiec <robert@chmielowiec.net>
2 pkgname=dates-git
3 _pkgname=dates
4 pkgver=20100411
5 pkgrel=1
6 pkgdesc="Dates is a small, lightweight calendar that uses Evolution Data Server as a backend (Git version)"
7 url="http://pimlico-project.org/dates.html"
8 license="GPL"
9 depends=('gtk2' 'evolution-data-server>=1.6' 'atk' 'libgnome>=2.8' 'libbonobo>=2.13' 'gnome-vfs>=2.13.98' 'perlxml')
10 makedepends=('git' 'intltool')
11 arch=('i686' 'x86_64')
12 provides=($_pkgname)
13 replaces=($_pkgname)
15 _gitroot=git://git.gnome.org/dates
16 _gitname=dates
17         
18 build() {
19   cd $srcdir
20   if [ -d ${_gitname} ]; then
21     cd ${_gitname} && git pull origin
22     msg "The local files are updated."
23   else
24     git clone ${_gitroot}
25     cd $_pkgname
26   fi
27   msg "GIT checkout done or server timeout"
28   msg "Starting make..."
29   ./autogen.sh --prefix=/usr
30   make || return 1
31   make DESTDIR=$pkgdir install