updated on Fri Jan 20 04:00:45 UTC 2012
[aur-mirror.git] / notify-osd-customizable / PKGBUILD
blobcc12bb624c372cc9475bc16e19edece2881546b3
1 # Maintainer: 4javier <4javiereg4 at gmail dot com>
2 # Contributor: American_Jesus
3 pkgname=notify-osd-customizable
4 _realname=notify-osd
5 pkgver=0.9.32
6 pkgrel=4
7 pkgdesc="daemon that displays passive pop-up notifications, with leolik patch added"
8 arch=(i686 x86_64)
9 url="https://launchpad.net/notify-osd"
10 license=('GPL')
11 groups=()
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')
23 build() {
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
31   make || return 1
32  }
34 package() {
35         cd "$srcdir/$_realname-$pkgver"
36         make DESTDIR="$pkgdir/" install
37         install -D -m644 ${srcdir}/notify-osd ${pkgdir}/etc/skel/.notify-osd
38  }