summaryrefslogtreecommitdiff
path: root/community/mate-notification-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'community/mate-notification-daemon')
-rw-r--r--community/mate-notification-daemon/PKGBUILD34
-rw-r--r--community/mate-notification-daemon/mate-notification-daemon.install12
2 files changed, 46 insertions, 0 deletions
diff --git a/community/mate-notification-daemon/PKGBUILD b/community/mate-notification-daemon/PKGBUILD
new file mode 100644
index 000000000..0201510a6
--- /dev/null
+++ b/community/mate-notification-daemon/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 104203 2014-01-16 16:45:28Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com>
+# Contributor: Xpander <xpander0@gmail.com>
+
+pkgname=mate-notification-daemon
+pkgver=1.6.1
+pkgrel=3
+pkgdesc="Notification daemon for MATE"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+depends=('dconf' 'dbus-glib' 'gtk2' 'libcanberra' 'libmatewnck' 'libnotify')
+makedepends=('mate-common' 'perl-xml-parser')
+options=('!emptydirs')
+groups=('mate')
+provides=('notification-daemon')
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('b911efdc4e37dc0b521165168fee03889f776c12')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${pkgname} \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/mate-notification-daemon/mate-notification-daemon.install b/community/mate-notification-daemon/mate-notification-daemon.install
new file mode 100644
index 000000000..7af080f58
--- /dev/null
+++ b/community/mate-notification-daemon/mate-notification-daemon.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}