[arch-commits] CVS update of extra/gnome/mail-notification (2 files)

Eric Belanger eric at archlinux.org
Fri Jun 29 00:54:22 EDT 2007


    Date: Friday, June 29, 2007 @ 00:54:22
  Author: eric
    Path: /home/cvs-extra/extra/gnome/mail-notification

Modified: PKGBUILD (1.11 -> 1.12) mail-notification.install (1.6 -> 1.7)

upgpkg: mail-notification 4.1-1
updated .install file to use gconfpkg


---------------------------+
 PKGBUILD                  |   18 ++++++++++--------
 mail-notification.install |   14 ++------------
 2 files changed, 12 insertions(+), 20 deletions(-)


Index: extra/gnome/mail-notification/PKGBUILD
diff -u extra/gnome/mail-notification/PKGBUILD:1.11 extra/gnome/mail-notification/PKGBUILD:1.12
--- extra/gnome/mail-notification/PKGBUILD:1.11	Sun Apr 22 13:48:47 2007
+++ extra/gnome/mail-notification/PKGBUILD	Fri Jun 29 00:54:22 2007
@@ -1,18 +1,20 @@
-# $Id: PKGBUILD,v 1.11 2007/04/22 17:48:47 jgc Exp $
+# $Id: PKGBUILD,v 1.12 2007/06/29 04:54:22 eric Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
+
 pkgname=mail-notification
-pkgver=4.0
-pkgrel=3
+pkgver=4.1
+pkgrel=1
 pkgdesc="Tray icon application that informs you if you have new mail"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://www.nongnu.org/mailnotify/"
 license=('GPL')
-depends=('eel>=2.18.0-2' 'cyrus-sasl-plugins' 'gmime>=2.2.6' 'libnotify>=0.4.4' 'scrollkeeper')
+depends=('eel>=2.18.0-2' 'cyrus-sasl-plugins' 'gmime>=2.2.6' 'libnotify>=0.4.4' 'scrollkeeper' 'gconf>=2.18.0.1-4')
 makedepends=('gob2' 'perlxml' 'evolution>=2.10.1-2' 'pkgconfig')
-options=('nolibtool')
-source=(http://savannah.nongnu.org/download/mailnotify/${pkgname}-${pkgver}.tar.gz)
+options=('!libtool')
 install=mail-notification.install
-md5sums=('0e10b221de4389fa9275fb7bf52dc010')
+source=(http://savannah.nongnu.org/download/mailnotify/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('4d9617ad0e7eded0953ac6d152f06a46')
+sha1sums=('6c1d480aa2f33e5e3790d0b0970018dc0ddd94a0')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
Index: extra/gnome/mail-notification/mail-notification.install
diff -u extra/gnome/mail-notification/mail-notification.install:1.6 extra/gnome/mail-notification/mail-notification.install:1.7
--- extra/gnome/mail-notification/mail-notification.install:1.6	Sun Apr 22 13:48:47 2007
+++ extra/gnome/mail-notification/mail-notification.install	Fri Jun 29 00:54:22 2007
@@ -1,8 +1,7 @@
 pkgname=mail-notification
 
 post_install() {
-  export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
-  usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null
+  usr/sbin/gconfpkg --install ${pkgname}
   kill -s HUP `pidof bonobo-activation-server` > /dev/null 2>&1
   scrollkeeper-update -q -p var/lib/scrollkeeper
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
@@ -17,16 +16,7 @@
 }
 
 pre_remove() {
-  if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
-    schemas=(usr/share/gconf/schemas/${pkgname}.schemas)
-  elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
-    schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
-  else
-    schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
-  fi
-  export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
-  
-  usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
+  usr/sbin/gconfpkg --uninstall ${pkgname}
 }
 
 post_remove() {




More information about the arch-commits mailing list