1 # Contributor: Silvio Knizek <killermoehre@gmx.net>
2 pkgname=xfce4-volumed-git
5 pkgdesc="Basic daemon enabling the XF86 Volume keys and supporting synchronous volume notifications"
8 url="http://git.xfce.org/apps/xfce4-volumed/"
9 groups=('xfce4-goodies-git')
10 depends=('xfconf' 'gstreamer0.10-base-plugins' 'libnotify' 'keybinder')
11 makedepends=('git' 'xfce4-dev-tools')
12 provides=('xfce4-volumed')
13 conflicts=('xfce4-volumed')
16 _gitname=xfce4-volumed
17 _gitroot=http://git.xfce.org/apps/xfce4-volumed
21 msg2 "Getting sources..."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin || return 1
25 msg2 "The local files are updated." && cd ../
27 git clone $_gitroot $_gitname|| return 1
30 [ -d $_gitname-build ] && rm -r $_gitname-build
31 cp $_gitname $_gitname-build -r || return 1
32 cd $_gitname-build || return 1
34 msg2 "Starting build..."
37 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
38 --localstatedir=/var --with-libnotify
40 make DESTDIR=${pkgdir} install || return 1