summaryrefslogtreecommitdiffstats
path: root/gnome-games/Pkgfile
blob: ff3b6ed91722d219118bc9b5c210dfcfb5556305 (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: librsvg, rarian, gob, avahi-gtk, guile, libggz, ggz-client-libs, clutter-gtk, gobject-introspection, aisleriot
# Run on: librsvg,rarian,gob,avahi-gtk,guile,libggz,ggz-client-libs,clutter-gtk,aisleriot

name=gnome-games
version=3.4.2
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
}