summaryrefslogtreecommitdiffstats
path: root/aisleriot/Pkgfile
blob: f66a71385c9c9872469d519ed6e717fe608dfdb5 (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, gnome-doc-utils
# 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
}