1 # Contributor: Zbyszek Tokarczyk <ztokarczyk (at) Gmail.com>
3 pkgname=xfce4-notifyd-git
6 pkgdesc="notification daemon for the xfce desktop"
9 url="http://spuriousinterrupt.org/projects/xfce4-notifyd"
10 groups=('xfce4-goodies')
12 depends=('libxfce4ui-devel' 'hicolor-icon-theme' 'libcanberra')
13 makedepends=('pkgconfig' 'intltool' 'git')
14 conflicts=('notification-daemon' 'notification-daemon-xfce' 'xfce4-notifyd' 'xfce4-notifyd-git')
15 replaces=('notification-daemon' 'notification-daemon-xfce' 'xfce4-notifyd' 'xfce4-notifyd-git')
17 #depends=('libxfcegui4' 'libxfce4util' 'xfconf' 'libsexy' 'libglade' 'dbus' 'dbus-glib' 'hicolor-icon-theme')
18 #makedepends=('xfce4-dev-tools-git' 'pkgconfig' 'git')
20 provides=('notification-daemon')
22 install=${pkgname}.install
24 _gitname="xfce4-notifyd"
25 _gitroot="git://git.xfce.org/apps/xfce4-notifyd"
30 echo "Getting sources..."
31 if [[ -d $_gitname ]] ; then
32 cd $_gitname && git pull origin || return 1
33 msg "The local files are updated." && cd ../
35 git clone $_gitroot || return 1
38 [ -d $_gitname-build ] && rm -r $_gitname-build
39 cp $_gitname $_gitname-build -r || return 1
40 cd $_gitname-build || return 1
42 echo "Starting build..."
43 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
44 --localstatedir=/var --disable-static
46 make DESTDIR=${pkgdir} install || return 1