#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gnome-games pkgver=3.2.1 zenver=72 pkgrel=2 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/gnome-games/3.2/gnome-games-$pkgver.tar.bz2" "gnome-sudoku-fix.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "hacking" "maintainers") url=http://live.gnome.org/GnomeGames/ options=('norequiredbuilder' 'keepdepfile' '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" ) doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi # glib2 compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < ../gnome-sudoku-fix.patch ./configure --prefix=/usr --localstatedir=/usr/share/gnome-games \ --sysconfdir=/etc \ --disable-tests \ --enable-introspection=yes \ --disable-static make || return 1 make install DESTDIR=$startdir/pkg }