#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) # # swell-foop (same-gnome) and lightsoff need seed # glchess needs gnome-python-desktop # all 3 are disabled by default. pkgname=gnome-games pkgver=2.32.1 pkgrel=1gv source=("http://ftp.acc.umu.se/pub/GNOME/sources/gnome-games/2.32/gnome-games-2.32.1.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 small 'five-minute' games in a" "variety of styles and genres." ) 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 \ --disable-scrollkeeper \ --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" \ --disable-static \ --enable-games=aisleriot,quadrapassel,gnect,gnomine,mahjongg,gtali,gnotravex,gnotski,glines,iagno,gnobots2,gnibbles,gnome-sudoku 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 }