summaryrefslogtreecommitdiff
path: root/testing/notification-daemon
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
committerroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
commit59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch)
treed0384b724b17b888dcd1cf06dce9bc25655d1ba1 /testing/notification-daemon
parent3b216f42d91b33161572550f4556a9ba93d1cecb (diff)
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'testing/notification-daemon')
-rw-r--r--testing/notification-daemon/PKGBUILD30
-rw-r--r--testing/notification-daemon/notification-daemon.install22
2 files changed, 52 insertions, 0 deletions
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 <jgc@archlinux.org>
+# Contributor: Mark Rosenstand <mark@borkware.net>
+
+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
+}