#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=gnome-games pkgver=2.26.3 pkgrel=4gv source=("http://ftp.acc.umu.se/pub/GNOME/sources/gnome-games/2.26/gnome-games-2.26.3.tar.bz2") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "hacking" "maintainers") url=http://live.gnome.org/GnomeGames/ options=('noautodotnew') 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 --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/usr/share/gnome-games --sysconfdir=/etc --with-omf-dir=/usr/share/omf --with-scores-user=root --with-scores-group=users --enable-sound --enable-anl --disable-scrollkeeper --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" --disable-static --disable-tests 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 }