1 # Maintainer: 4javier <4javiereg4 at gmail dot com>
2 # Contributor: American_Jesus
3 pkgname=notify-osd-customizable
7 pkgdesc="daemon that displays passive pop-up notifications, with leolik patch added"
9 url="https://launchpad.net/notify-osd"
12 depends=('libwnck3' 'libnotify>=0.7.0' 'dbus-glib>=0.76' 'dconf' 'gsettings-desktop-schemas')
13 optdepends=('notifyconf: gui to customize notifies appearence')
14 makedepends=('pkgconfig' 'libnotify' 'gnome-common')
15 provides=('notification-daemon' 'notify-osd')
16 conflicts=('notification-daemon' 'notify-osd')
17 install=$pkgname.install
18 source=(https://launchpad.net/~leolik/+archive/leolik/+files/${_realname}_${pkgver}-0ubuntu3-leolik~ppa1.tar.gz notify-osd)
19 md5sums=('b6fdccc6f16ec8ddb7b8c6d6258a8486'
20 '1b1c942c8caebbdaad8402dbd0a8160a')
24 cd "$srcdir/$_realname-$pkgver"
25 sed -i 's,/usr/lib/notify-osd/,@LIBEXECDIR@/,' data/org.freedesktop.Notifications.service.in
26 sh ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
27 --disable-static --disable-schemas-compile
28 # Disable building tests
29 sed -i '/SUBDIRS/ s/tests //' Makefile.in
35 cd "$srcdir/$_realname-$pkgver"
36 make DESTDIR="$pkgdir/" install
37 install -D -m644 ${srcdir}/notify-osd ${pkgdir}/etc/skel/.notify-osd