updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / libxfcegui4-git / PKGBUILD
blob39a51242daf03443c92b3dbe40da8034aa28b6c6
1 # $Id$
2 # Contributor: Jan Jezek <honzin.jezek@gmail.com>
4 pkgname=libxfcegui4-git
5 pkgver=20110524
6 pkgrel=1
7 pkgdesc="Various gtk widgets for Xfce."
8 arch=(i686 x86_64)
9 license=('GPL2')
10 url="http://www.xfce.org/"
11 groups=('xfce4-git')
12 depends=('startup-notification' 'xfconf>=4.6.1' 'libglade>=2.6.4' 'hicolor-icon-theme')
13 makedepends=('git' 'pkgconfig' 'xfce4-dev-tools-git')
14 conflicts=('libxfcegui4')
15 replaces=('libxfcegui4')
16 provides=("libxfcegui4=4.6.1")
17 options=('!libtool')
18 source=()
19 md5sums=()
21 _gitroot="git://git.xfce.org/xfce/libxfcegui4"
22 _gitname="libxfcegui4"
24 build() {
25     
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
40         
41   ./autogen.sh 
42   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib\
43     --localstatedir=/var --disable-static --enable-maintainer-mode
44   make || return 1
45   make DESTDIR=${startdir}/pkg install