#Maintainer: George Vlahavas (vlahavas@gmail.com, gapan@zenwalk forums) pkgname=gnome-games pkgver=2.22.0 pkgrel=1 zenver=52 arch=i486 source=("ftp://ftp.gnome.org/pub/gnome/sources/gnome-games/2.22/gnome-games-2.22.0.tar.bz2") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "hacking" "maintainers") url=http://live.gnome.org/GnomeGames/ options=('norequiredbuilder' 'keepdepfile') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-games - a collection of small 'five-minute' games" "gnome-games is a collection of sixteen small 'five-minute' games in a" "variety of styles and genres. Included games are aisleriot, blackjack," "glchess, glines, gnect, gnibbles, gnobots2, gnome-sudoku, gnometris," "gnomine, gnotravex, gtali, iagno, mahjongg and same-gnome" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/usr/share/gnome-games --sysconfdir=/etc --with-omf-dir=/usr/share/omf --with-scores-user=root --with-scores-group=users --enable-scalable --enable-sound --enable-anl --disable-scrollkeeper --disable-gnuchess --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" make || return 1 make install DESTDIR=$startdir/pkg # mahjongg displays an error message without this cd $startdir/pkg/usr/share/pixmaps/mahjongg ln -sf smooth.png default.png # gconf stuff export GCONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/gconf/gconf.xml.defaults" if [ -d $startdir/pkg/etc/gconf/schemas ]; then install -v -d -m755 $startdir/pkg/etc/gconf/gconf.xml.defaults SCHEMAS=$startdir/pkg/etc/gconf/schemas for schema in $SCHEMAS/*.schemas; do gconftool-2 --makefile-install-rule $schema done # Reset / Verify correct permissions ( cd $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi }