diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/notification-daemon | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/notification-daemon')
-rw-r--r-- | community/notification-daemon/PKGBUILD | 34 | ||||
-rw-r--r-- | community/notification-daemon/notification-daemon.install | 22 |
2 files changed, 56 insertions, 0 deletions
diff --git a/community/notification-daemon/PKGBUILD b/community/notification-daemon/PKGBUILD new file mode 100644 index 000000000..e9b304b8a --- /dev/null +++ b/community/notification-daemon/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 90252 2013-05-10 04:00:26Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Mark Rosenstand <mark@borkware.net> + +pkgname=notification-daemon +pkgver=0.7.6 +pkgrel=2 +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) +makedepends=(pkgconfig intltool) +options=('!libtool' '!emptydirs') +source=(http://download.gnome.org/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.xz) +sha256sums=('64d0ce6fb12c94c3b73b701502c804c408cb5a94580bcae5ac37607639f7a0b3') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/notification-daemon-1.0 \ + --localstatedir=/var --disable-static + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/community/notification-daemon/notification-daemon.install b/community/notification-daemon/notification-daemon.install new file mode 100644 index 000000000..8a1aa3433 --- /dev/null +++ b/community/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 +} |