1 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
2 # Maintainer: Andrea Fagiani <andfagiani {at} gmail {dot} com>
7 pkgdesc="On-screen notification display agent, with semi-transparent click-through bubbles."
8 url="https://edge.launchpad.net/notify-osd"
10 arch=('i686' 'x86_64')
11 depends=('gconf' 'cairo' 'libwnck')
12 makedepends=('bzr' 'gnome-common' 'libnotify')
13 conflicts=('notification-daemon' 'notify-osd')
14 provides=('notification-daemon' 'notify-osd')
15 install=$pkgname.install
16 source=(3sec.patch dynamic.patch notify-osd-0.9.30-libnotify-0.7.patch)
17 md5sums=('6e9b159bf29219d08c7c73cb7f5e93db'
18 '5d866067d9416cfe083c4e86a90e9f2e'
19 'fd9805ac596194d0350ddaca9a4c81d4')
21 _bzrtrunk=lp:notify-osd
27 msg "Connecting to notify-osd bzr server...."
29 if [ -d $_bzrmod ] ; then
30 cd $_bzrmod && bzr pull -r $pkgver
31 msg "The local files are updated."
33 bzr branch $_bzrtrunk $_bzrmod -r $pkgver
36 msg "bzr checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf $srcdir/$_bzrmod-build
40 cp -r $srcdir/$_bzrmod $srcdir/$_bzrmod-build
41 cd $srcdir/$_bzrmod-build
43 patch -Np1 -i $srcdir/3sec.patch
44 patch -Np1 -i $srcdir/dynamic.patch
45 #patch -Np1 -i $srcdir/notify-osd-0.9.30-libnotify-0.7.patch
47 ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/notify-osd
48 # do not build examples causing redundant build dependencies
49 sed -i "s|\(^SUBDIRS.*\)examples\(.*\)$|\1\2|" Makefile
51 make install DESTDIR=$pkgdir