summaryrefslogtreecommitdiffstats
path: root/aisleriot/Pkgfile
blob: fb293e1279a64cb84056e02e65cf5da1177d4ff9 (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 de solitaire pour Gnome
# URL: http://live.gnome.org/Aisleriot
# Maintainer: NuTyX Gnome team
# Packager: piernov <piernov@piernov.org>
# Depends on: gtk3, clutter, intltool, libcanberra, gconf, librsvg, guile, gnome-doc-utils, itstool
# Run on: gtk3,clutter,libcanberra,gconf,librsvg,guile

name=aisleriot
version=3.4.1
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-install \
		--disable-schemas-compile \
		--enable-sound \
		--with-guile=2.0 \
		--with-gtk=3.0

	make
	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 aisleriot $PKG/etc/gconf/schemas/*.schemas
	rm -f $PKG/etc/gconf/schemas/*.schemas
}