updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / exo-git / PKGBUILD
blobfec849e4521bed6a728a65386005f1cd8a184771
1 # $Id$
2 # Contributor: Jan Jezek <honzin.jezek@gmail.com>
4 pkgname=exo-git
5 pkgver=20111218
6 pkgrel=1
7 pkgdesc="Extensions to Xfce by os-cillation."
8 arch=(i686 x86_64)
9 license=('GPL2' 'LGPL2')
10 #url="http://www.os-cillation.de/en/open-source-projekte/libexo/"
11 url="http://git.xfce.org/xfce/exo/tree/README"
12 groups=('xfce4-git')
13 depends=('libxfce4util-git' 'gtk2>=2.18.6-1' 'glib2>=2.22.4-1' 'hal>=0.5.14-1' 'hicolor-icon-theme')
14 makedepends=('xfce4-dev-tools-git' 'git' 'pkgconfig' 'libnotify' 'perl-uri' 'pygtk>=2.13') 
15 optdepends=('libnotify: enables notification support' 
16                         'perl: enables mail-compose helper script')
17 conflicts=('exo')
18 options=('!libtool')
19 install=${pkgname}.install
21 _gitname="exo"
22 _gitroot="git://git.xfce.org/xfce/exo"
25 build() {
26             cd $srcdir
27     msg "Getting sources..."
28     
29     if [ -d "$srcdir/$_gitname" ] ; then
30          cd $_gitname && git pull origin
31          msg "The local files are updated."
32         else
33          git clone $_gitroot
34         fi
36 msg "GIT checkout done or server timeout"
37 msg "Starting build..."
39         cd $srcdir/$_gitname
41 export PYTHON="/usr/bin/python2"
43   libtoolize
44   ./autogen.sh  --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
45     --localstatedir=/var --disable-static --enable-notifications \
46     --enable-python || return 1
47   make || return 1
48   make DESTDIR=${pkgdir} install || return 1