1 # Maintainer: Silvio Knizek <killermoehre@gmx.net>
2 # Special Thanks to lh <jarryson@gmail.com> for the PKGBUILD
3 # Contributor: Xavier Devlamynck <magicrhesus@ouranos.be>
5 pkgname=xfce4-panel-git
8 pkgdesc="Panel for the Xfce desktop environment"
11 url="http://git.xfce.org/xfce/xfce4-panel"
13 depends=('garcon-git' 'libxfce4ui-git' 'exo-git' 'hicolor-icon-theme' 'libwnck')
15 makedepends=('pkgconfig' 'git')
16 provides=('xfce4-panel')
17 conflicts=('xfce4-panel<=4.6')
22 _gitroot=git://git.xfce.org/xfce/xfce4-panel
26 msg "Getting sources..."
28 if [[ -d $_gitname ]] ; then
29 cd $_gitname && git pull origin && git submodule update || return 1
30 msg "The local files are updated." && cd ../
32 git clone $_gitroot $_gitname || return 1
33 cd $_gitname && git submodule docs/manual && git submodule init && git submodule update && cd ../ || return 1
36 [ -d $_gitname-build ] && rm -r $_gitname-build
37 cp $_gitname $_gitname-build -r || return 1
38 cd $_gitname-build || return 1
40 msg "Starting build..."
42 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var
45 make DESTDIR=${pkgdir} install || return 1
48 # vim:set ts=2 sw=2 et: