summaryrefslogtreecommitdiffstats
path: root/gnome-games/Pkgfile
blob: 64c8b2cd010cb5b83c41af39969219758c3025d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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-gtk, guile, libggz, ggz-client-libs, clutter-gtk, gobject-introspection, aisleriot
# Run on: libgnomeui,librsvg,rarian,gob,avahi-gtk,guile,libggz,ggz-client-libs,clutter-gtk,aisleriot

name=gnome-games
version=3.4.0
release=1
source=(http://ftp.acc.umu.se/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
	cd $name-$version
	unset MAKEFLAGS
	./configure --prefix=/usr \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-schemas-compile \
		--disable-setgid \
		--enable-introspection=yes \
		--with-scores-user=root \
		--with-scores-group=games
	make
	make DESTDIR=$PKG install

	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
}