#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) # # gnome-sudoku requires a newer pygobject than the one in slackware # 14.0, so it has been disabled. pkgname=gnome-games pkgver=3.4.2 pkgrel=1gv source=("http://ftp.acc.umu.se/pub/GNOME/sources/gnome-games/3.4/gnome-games-3.4.2.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "hacking" "maintainers") url=http://live.gnome.org/GnomeGames/ doinst() { # compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } 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-scores-user=root \ --with-scores-group=users \ --disable-static \ --disable-schemas-compile \ --enable-omitgames=gnome-sudoku \ --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg }