summaryrefslogtreecommitdiffstats
path: root/aisleriot/Pkgfile
blob: c033254203db49c64744c0b63443cb3e36922222 (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
32
33
# 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.1.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-install \
		--disable-schemas-compile \
		--disable-scrollkeeper \
		--enable-sound \
		--with-guile=2.0 \
		--with-gtk=3.0 \
		--with-clutter

	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
}