summaryrefslogtreecommitdiffstats
path: root/gnome-games/Pkgfile
blob: 748c21767af3b359d756f7fef5f9c00e922d7960 (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
# 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.3.92
release=1
source=(http://ftp.acc.umu.se/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
	cd $name-$version
	./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
}