[arch-commits] CVS update of extra/gnome/fast-user-switch-applet (2 files)

Jan de Groot jgc at archlinux.org
Sat Sep 22 22:08:14 UTC 2007


    Date: Saturday, September 22, 2007 @ 18:08:14
  Author: jgc
    Path: /home/cvs-extra/extra/gnome/fast-user-switch-applet

Modified: PKGBUILD (1.9 -> 1.10) fusa.install (1.3 -> 1.4)

upgpkg: fast-user-switch-applet 2.20.0-1
GNOME 2.20


--------------+
 PKGBUILD     |   13 +++++++------
 fusa.install |   22 +++-------------------
 2 files changed, 10 insertions(+), 25 deletions(-)


Index: extra/gnome/fast-user-switch-applet/PKGBUILD
diff -u extra/gnome/fast-user-switch-applet/PKGBUILD:1.9 extra/gnome/fast-user-switch-applet/PKGBUILD:1.10
--- extra/gnome/fast-user-switch-applet/PKGBUILD:1.9	Sun Apr 22 12:25:54 2007
+++ extra/gnome/fast-user-switch-applet/PKGBUILD	Sat Sep 22 18:08:13 2007
@@ -1,19 +1,20 @@
-# $Id: PKGBUILD,v 1.9 2007/04/22 16:25:54 jgc Exp $
+# $Id: PKGBUILD,v 1.10 2007/09/22 22:08:13 jgc Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Contributor: Mark Rosenstand <mark at borkware.net>
 
 pkgname=fast-user-switch-applet
-pkgver=2.18.0
-pkgrel=2
+pkgver=2.20.0
+pkgrel=1
 pkgdesc="An applet for the GNOME panel which provides a menu to switch between users."
 arch=(i686 x86_64)
 license=('GPL')
 url="http://ignore-your.tv/fusa/"
-depends=('gnome-panel>=2.18.1' 'libxmu')
+depends=('gnome-panel>=2.20.0' 'libxmu' 'gdm>=2.20.0')
 makedepends=('perlxml' 'pkgconfig')
+options=(!emptydirs)
 install=fusa.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/fast-user-switch-applet/2.18/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('aefe9ea3aecc908336ae909aeee385b5')
+source=(http://ftp.gnome.org/pub/GNOME/sources/fast-user-switch-applet/2.20/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('1d1fd25b5599f7656e3fa89aa913137c')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
Index: extra/gnome/fast-user-switch-applet/fusa.install
diff -u extra/gnome/fast-user-switch-applet/fusa.install:1.3 extra/gnome/fast-user-switch-applet/fusa.install:1.4
--- extra/gnome/fast-user-switch-applet/fusa.install:1.3	Sun Apr 22 12:25:54 2007
+++ extra/gnome/fast-user-switch-applet/fusa.install	Sat Sep 22 18:08:13 2007
@@ -1,9 +1,7 @@
 pkgname=fast-user-switch-applet
 
 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
-  scrollkeeper-update -q -p var/lib/scrollkeeper
+  usr/sbin/gconfpkg --install ${pkgname}
 }
 
 pre_upgrade() {
@@ -15,23 +13,9 @@
 }
 
 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
-}
-
-post_remove() {
-  scrollkeeper-update -q -p var/lib/scrollkeeper
+  usr/sbin/gconfpkg --uninstall ${pkgname}
 }
 
 op=$1
 shift
-
-$op $*
+["$(type -t "$op")" = "function" ] && $op "$@"




More information about the arch-commits mailing list