1 # $Id: PKGBUILD 4361 2008-07-06 19:20:37Z jgc $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
8 pkgdesc="A game that was dropped from gnome-games in 2.18"
11 depends=('libgnomeui>=2.16.3' 'guile>=1.8.4-2' 'librsvg>=2.16.3' 'filesystem>=0.8-3' 'desktop-file-utils' 'gnome-python-desktop>=2.16.3' 'libgnomeprintui>=2.16.3' 'gnome-games')
12 makedepends=('perlxml' 'pkgconfig' 'gnome-doc-utils>=0.12.2')
13 conflicts=('gnome-games<=2.16.3')
14 options=('!emptydirs')
15 install=gnome-games.install
16 url="http://www.gnome.org"
17 groups=('gnome-extra')
18 source=("http://ftp.gnome.org/pub/gnome/sources/${_origname}/2.16/${_origname}-${pkgver}.tar.bz2")
19 md5sums=('88baa9ab64b84bfcac2a1ba05f84d2f9')
22 # patch ${srcdir}/${_origname}-${pkgver}/configure ${srcdir}/configure.patch||return 1
23 cd ${startdir}/src/${_origname}-${pkgver}
24 ./configure --prefix=/usr --sysconfdir=/etc \
25 --localstatedir=/var --disable-scrollkeeper \
26 --with-scores-user=root --with-scores-group=games \
27 --with-sound=gstreamer\
28 --enable-games=none,gataxx || return 1
30 make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install || return 1
32 # Remove all scores, we generate them from postinstall
33 rm -rf ${startdir}/pkg/var
35 install -m755 -d ${startdir}/pkg/usr/share/gconf/schemas
36 gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas || return 1
37 rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
38 rm -rf ${pkgdir}/usr/share/locale