summaryrefslogtreecommitdiffstats
path: root/gnome-games/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-games/Pkgfile')
-rwxr-xr-xgnome-games/Pkgfile34
1 files changed, 23 insertions, 11 deletions
diff --git a/gnome-games/Pkgfile b/gnome-games/Pkgfile
index 2b753df..79995d2 100755
--- a/gnome-games/Pkgfile
+++ b/gnome-games/Pkgfile
@@ -1,13 +1,12 @@
-# Description: Games for your GNOME desktop
-# URL: http://www.gnome.org/softwaremap/projects/gnome-games/
-# Maintainer: Matt Housh, jaeger at morpheus dot net
-# Packager: jaeger at morpheus dot net
-# Depends on: libgnomeui, librsvg, rarian, gob, avahi, gnome-python-desktop, guile, libggz, ggz-client-libs, clutter-gtk
+# Description: Jeux pour Gnome
+# URL: https://live.gnome.org/GnomeGames
+# Maintainer: NuTyX Gnome team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: libgnomeui, librsvg, rarian, gob, avahi, gnome-python-desktop, guile, libggz, ggz-client-libs, clutter-gtk, gobject-introspection
# Run on: libgnomeui,librsvg,rarian,gob,avahi,gnome-python-desktop,guile,libggz,ggz-client-libs,clutter-gtk
-# Group: gnome/desktop
name=gnome-games
-version=3.1.4
+version=3.1.5
release=1
source=(http://ftp.acc.umu.se/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)
@@ -15,11 +14,24 @@ build() {
cd $name-$version
./configure --prefix=/usr \
--localstatedir=/var \
+ --sysconfdir=/etc \
--disable-schemas-install \
+ --disable-schemas-compile \
+ --disable-scrollkeeper \
--disable-setgid \
- --disable-tests \
- --sysconfdir=/etc \
- --disable-scrollkeeper
+ --enable-introspection=yes \
+ --enable-sound \
+ --with-scores-user=root \
+ --with-scores-group=games
make
- make DESTDIR=$PKG install
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$PKG install
+
+ install -m755 -d $PKG/usr/share/gconf/schemas
+ gconf-merge-schema $PKG/usr/share/gconf/schemas/$name.schemas --domain gnome-games $PKG/etc/gconf/schemas/*.schemas
+ rm -f $PKG/etc/gconf/schemas/*.schemas
+
+ chown -R root:games $PKG/var/games
+ chmod -R 664 $PKG/var/games
+
+ sed -i 's|#! /usr/bin/env python|#!/usr/bin/env python2|' $PKG/usr/bin/gnome-sudoku
}