[arch-commits] CVS update of extra/gnome/gnome-games (PKGBUILD gnome-games.install)

Jan de Groot jgc at archlinux.org
Sun Jun 10 09:47:13 EDT 2007


    Date: Sunday, June 10, 2007 @ 09:47:13
  Author: jgc
    Path: /home/cvs-extra/extra/gnome/gnome-games

Modified: PKGBUILD (1.43 -> 1.44) gnome-games.install (1.14 -> 1.15)

upgpkg: gnome-games 2.18.2.1-1
Migrate install scriptlet to gconfpkg, update to new version to fix crashing X in glchess


---------------------+
 PKGBUILD            |    8 ++++----
 gnome-games.install |   14 ++------------
 2 files changed, 6 insertions(+), 16 deletions(-)


Index: extra/gnome/gnome-games/PKGBUILD
diff -u extra/gnome/gnome-games/PKGBUILD:1.43 extra/gnome/gnome-games/PKGBUILD:1.44
--- extra/gnome/gnome-games/PKGBUILD:1.43	Thu May 31 08:12:36 2007
+++ extra/gnome/gnome-games/PKGBUILD	Sun Jun 10 09:47:13 2007
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD,v 1.43 2007/05/31 12:12:36 jgc Exp $
+# $Id: PKGBUILD,v 1.44 2007/06/10 13:47:13 jgc Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-games
-pkgver=2.18.2
+pkgver=2.18.2.1
 pkgrel=1
 pkgdesc="Some Games for GNOME"
 arch=(i686 x86_64)
 license=('GPL')
-depends=('libgnomeui>=2.18.1-2' 'guile>=1.8.1' 'librsvg>=2.16.1' 'filesystem>=0.8-3' 'scrollkeeper' 'desktop-file-utils' 'gnome-python-desktop>=2.18.0')
+depends=('libgnomeui>=2.18.1-2' 'guile>=1.8.1' 'librsvg>=2.16.1' 'filesystem>=0.8-3' 'scrollkeeper' 'desktop-file-utils' 'gnome-python-desktop>=2.18.0' 'gconf>=2.18.0.1-4')
 makedepends=('perlxml' 'pkgconfig' 'gnome-doc-utils>=0.10.3')
 provides=('glchess' 'gnome-sudoku')
 conflicts=('glchess' 'gnome-sudoku')
@@ -15,7 +15,7 @@
 url="http://www.gnome.org"
 groups=('gnome-extra')
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2 )
-md5sums=('fcc0e2fafbc2486b0c003feabf00342d')
+md5sums=('c3434a724cd72a536ba48d9187f10697')
 
 build() {
 
Index: extra/gnome/gnome-games/gnome-games.install
diff -u extra/gnome/gnome-games/gnome-games.install:1.14 extra/gnome/gnome-games/gnome-games.install:1.15
--- extra/gnome/gnome-games/gnome-games.install:1.14	Sun Apr 22 16:05:57 2007
+++ extra/gnome/gnome-games/gnome-games.install	Sun Jun 10 09:47:13 2007
@@ -89,8 +89,7 @@
 	same-gnome.Small.scores)
 
 post_install() {
-  export GCONF_CONFIG_SOURCE=`opt/gnome/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}
   scrollkeeper-update -q -p var/lib/scrollkeeper
   update-desktop-database -q
   gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
@@ -118,16 +117,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