From 59075f0265483f32e9ac4c67ba9e69cb019ba044 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 8 Apr 2011 04:18:44 +0000 Subject: Fri Apr 8 04:18:44 UTC 2011 --- testing/notification-daemon/PKGBUILD | 30 ++++++++++++++++++++++ .../notification-daemon.install | 22 ++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 testing/notification-daemon/PKGBUILD create mode 100644 testing/notification-daemon/notification-daemon.install (limited to 'testing/notification-daemon') diff --git a/testing/notification-daemon/PKGBUILD b/testing/notification-daemon/PKGBUILD new file mode 100644 index 000000000..c71f1c7f5 --- /dev/null +++ b/testing/notification-daemon/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 110126 2011-02-16 17:22:45Z ibiru $ +# Maintainer: Jan de Groot +# Contributor: Mark Rosenstand + +pkgname=notification-daemon +pkgver=0.7.1 +pkgrel=1 +pkgdesc="Notification daemon for the desktop notifications framework" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.galago-project.org/specs/notification/" +depends=('gtk3' 'libcanberra') +groups=('gnome') +makedepends=('pkgconfig' 'intltool' 'dbus-glib') +options=('!libtool' '!emptydirs') +source=(http://download.gnome.org/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('d26bf9021b3ae708d36e55437642a89d6b81693fe39d27c5d1ec869e22697b8b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/notification-daemon-1.0 \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install +} diff --git a/testing/notification-daemon/notification-daemon.install b/testing/notification-daemon/notification-daemon.install new file mode 100644 index 000000000..8a1aa3433 --- /dev/null +++ b/testing/notification-daemon/notification-daemon.install @@ -0,0 +1,22 @@ +pkgname=notification-daemon + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} -- cgit v1.2.3-54-g00ecf