updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xfdesktop-git-gio / PKGBUILD
blob6d7e427c566e5a2450306f29d624fc27e3b509e4
1 # Contributor: Silvio Knizek <killermoehre@gmx.net>
3 pkgname=xfdesktop-git-gio
4 pkgver=20100801
5 pkgrel=2
6 pkgdesc="A desktop manager for Xfce - port to gio"
7 arch=(i686 x86_64)
8 license=('GPL2')
9 url="http://git.xfce.org/xfce/xfdesktop"
10 depends=('libxfce4menu-git' 'exo-git' 'thunar-git' 'hicolor-icon-theme')
11 makedepends=('git' 'intltool' 'pkgconfig' 'xfce4-dev-tools')
12 provides=(xfdesktop)
13 options=('!libtool')
14 install=${pkgname}.install
15 source=()
16 md5sums=()
18 _gitroot=git://git.xfce.org/xfce/xfdesktop
19 _gitname=xfdesktop
20 _gitbranch=danielm/port-to-gio
22 build() {
23     
24     cd $srcdir
25     msg "Getting sources..."
26     
27     if [ -d "$srcdir/$_gitname" ] ; then
28          cd $_gitname && git pull origin
29          msg "The local files are updated."
30         else
31          git clone $_gitroot -b $_gitbranch
32         fi
34 msg "GIT checkout done or server timeout"
35 msg "Starting build..."
37         cd $srcdir/$_gitname
39     msg "Starting build..."
40         
41   ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
42     --localstatedir=/var --disable-static || return 1
43   make || return 1
44   make DESTDIR=${startdir}/pkg install || return 1