[arch-commits] Commit in gnome-games/trunk (PKGBUILD gnome-games.install)

Jan de Groot jgc at archlinux.org
Sun Feb 14 21:02:21 UTC 2010


    Date: Sunday, February 14, 2010 @ 16:02:21
  Author: jgc
Revision: 68901

upgpkg: gnome-games 2.29.6-1
Update to 2.29.6 - this release renames two games, handle hiscore files for this.

Modified:
  gnome-games/trunk/PKGBUILD
  gnome-games/trunk/gnome-games.install

---------------------+
 PKGBUILD            |   13 +++++--------
 gnome-games.install |   29 +++++++++++++++++++++--------
 2 files changed, 26 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-14 19:28:01 UTC (rev 68900)
+++ PKGBUILD	2010-02-14 21:02:21 UTC (rev 68901)
@@ -2,12 +2,12 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-games
-pkgver=2.28.2
+pkgver=2.29.6
 pkgrel=1
 pkgdesc="Some Games for GNOME"
 arch=(i686 x86_64)
 license=('GPL')
-depends=('libsm' 'gconf>=2.28.0' 'guile>=1.8.7' 'librsvg>=2.26.0' 'filesystem>=2009.11' 'desktop-file-utils' 'gnome-python-desktop>=2.28.0' 'libcanberra>=0.21' 'ggz-client-libs>=0.0.14.1' 'clutter-gtk>=0.10.2' 'hicolor-icon-theme')
+depends=('libsm' 'gconf>=2.28.0' 'guile>=1.8.7' 'librsvg>=2.26.0' 'filesystem>=2009.11' 'desktop-file-utils' 'gnome-python-desktop>=2.29.1' 'libcanberra>=0.21' 'clutter-gtk>=0.10.2' 'hicolor-icon-theme' 'seed>=2.29.90')
 makedepends=('pkgconfig' 'gnome-doc-utils>=0.18.1' 'intltool')
 provides=('glchess' 'gnome-sudoku')
 conflicts=('glchess' 'gnome-sudoku')
@@ -15,15 +15,15 @@
 install=gnome-games.install
 url="http://www.gnome.org"
 groups=('gnome-extra')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('7afca16831eff95cf3e9ea4f1344d26ed30b274b89b06403adf0757221b36899')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.29/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('c80f14099ae9d1b6a525386a26cb8e60de1580cde3710bc7116d4b8e96c61a41')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-scrollkeeper \
       --with-scores-user=root --with-scores-group=games \
-      --disable-tests || return 1
+      --enable-introspection=no || return 1
   make || return 1
   make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
 
@@ -33,7 +33,4 @@
   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-games ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-
-  rm -f "${pkgdir}/etc/ggz.modules"
-  install -m644 gnect/data/gnect-client.dsc gnibbles/gnibbles-client.dsc iagno/iagno-client.dsc "${pkgdir}/usr/share/ggz/" || return 1
 }

Modified: gnome-games.install
===================================================================
--- gnome-games.install	2010-02-14 19:28:01 UTC (rev 68900)
+++ gnome-games.install	2010-02-14 21:02:21 UTC (rev 68901)
@@ -1,5 +1,4 @@
 pkgname=gnome-games
-
 scores=(glines.Large.scores
 	glines.Medium.scores
 	glines.Small.scores
@@ -26,7 +25,6 @@
 	gnobots2.robots_with_safe_teleport-safe.scores
 	gnobots2.robots_with_safe_teleport-super-safe.scores
 	gnobots2.robots_with_safe_teleport.scores
-	gnometris.scores
 	gnomine.Custom.scores
 	gnomine.Large.scores
 	gnomine.Medium.scores
@@ -84,15 +82,33 @@
 	mahjongg.pyramid.scores
 	mahjongg.tictactoe.scores
 	mahjongg.ziggurat.scores
-	same-gnome.Large.scores
-	same-gnome.Medium.scores
-	same-gnome.Small.scores)
+	swell-foop.Large.scores
+	swell-foop.Medium.scores
+	swell-foop.Small.scores
+	quadrapassel.scores)
 
 post_install() {
   usr/sbin/gconfpkg --install ${pkgname}
   update-desktop-database -q
   gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
 
+  for sz in Large Medium Small; do
+    if [ -e "opt/gnome/var/games/same-gnome.${sz}.scores" ]; then
+      mv "opt/gnome/var/games/same-gnome.${sz}.scores" \
+        "var/games/swell-foop.${sz}.scores"
+    elif [ -e "var/games/same-gnome.${sz}.scores" ]; then
+      mv "var/games/same-gnome.${sz}.scores" \
+        "var/games/swell-foop.${sz}.scores"
+    fi
+  done
+  if [ -e "opt/gnome/var/games/gnometris.scores" ]; then
+    mv "opt/gnome/var/games/gnometris.scores" \
+      "var/games/quadrapassel.scores"
+  elif [ -e "var/games/gnometris.scores" ]; then
+    mv "var/games/gnometris.scores" \
+      "var/games/quadrapassel.scores"
+  fi
+
   for score in "${scores[@]}" ; do
     if [ -e "var/games/${score}" ]; then
       continue
@@ -105,9 +121,6 @@
     chown root:games "var/games/${score}"
     chmod 664 "var/games/${score}"
   done
-  ggz-config -i -f -m usr/share/ggz/gnect-client.dsc >& /dev/null
-  ggz-config -i -f -m usr/share/ggz/gnibbles-client.dsc >& /dev/null
-  ggz-config -i -f -m usr/share/ggz/iagno-client.dsc >& /dev/null
 }
 
 pre_upgrade() {




More information about the arch-commits mailing list