1 # $Id: PKGBUILD 136888 2011-09-02 16:27:34Z heftig $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Aisleroit Games for GNOME"
10 depends=('libsm' 'gconf' 'guile' 'desktop-file-utils' 'libcanberra' 'clutter-gtk' 'hicolor-icon-theme' 'librsvg' 'seed' 'pygobject')
11 makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection')
12 options=('!emptydirs' '!libtool')
13 install=aisleriot.install
14 url="http://www.gnome.org"
15 groups=('gnome-extra')
16 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
17 sha256sums=('a0d66e5fb8956d10822946767c64baee975900a381391dcb5186800c94e60a8a')
20 cd "${srcdir}/${pkgname}-${pkgver}"
21 PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
22 --localstatedir=/var --disable-scrollkeeper \
24 --with-scores-user=root --with-scores-group=games \
25 --enable-introspection=yes
30 cd "${srcdir}/${pkgname}-${pkgver}"
31 make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
33 # Remove all scores, we generate them from postinstall
34 rm -rf "${pkgdir}/var"
36 install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
37 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-games ${pkgdir}/etc/gconf/schemas/*.schemas
38 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas