1 # Maintainer: Jannik Heller <scrawl@baseoftrash.de>
3 pkgname=notify-osd-conf
6 pkgdesc="Notify-OSD patched to be configurable"
7 url="https://edge.launchpad.net/notify-osd"
10 depends=('gconf' 'cairo' 'freetype2' 'libwnck')
11 makedepends=('bzr' 'gnome-common' 'libnotify')
12 conflicts=('notification-daemon' 'notify-osd')
13 provides=('notification-daemon' 'notify-osd')
14 install=$pkgname.install
15 source=('notify-osd.patch')
16 md5sums=('57e3bd7e5c8483ee46e5d041b36c797e')
18 _bzrtrunk=lp:notify-osd
24 msg "Connecting to notify-osd bzr server...."
26 if [ ! -d $srcdir/$_bzrmod ] ; then
27 bzr co ${_bzrtrunk} ${_bzrmod} -r ${pkgver}
32 msg "bzr checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf $srcdir/$_bzrmod-build
36 cp -r $srcdir/$_bzrmod $srcdir/$_bzrmod-build
37 cd $srcdir/$_bzrmod-build
39 patch -Np1 -i $srcdir/notify-osd.patch || return 1
41 ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/notify-osd || return 1
42 # do not build examples causing redundant build dependencies
43 sed -i "s|\(^SUBDIRS.*\)examples\(.*\)$|\1\2|" Makefile
45 make install DESTDIR="$pkgdir" || return 1