diff options
author | root <root@rshg047.dnsready.net> | 2011-05-24 22:48:50 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-24 22:48:50 +0000 |
commit | 363d953113a327863013a9422c8212654a86a209 (patch) | |
tree | 01f2b43d3e98433702f9c6ba92ab45bfa151888a /testing/gnome-games/PKGBUILD | |
parent | 87e20a64534e8f58ca4a4f84000b629e48569a98 (diff) |
Tue May 24 22:48:50 UTC 2011
Diffstat (limited to 'testing/gnome-games/PKGBUILD')
-rw-r--r-- | testing/gnome-games/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/gnome-games/PKGBUILD b/testing/gnome-games/PKGBUILD new file mode 100644 index 000000000..853bcfe8a --- /dev/null +++ b/testing/gnome-games/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 124637 2011-05-23 17:10:50Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-games +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Some Games for GNOME" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libsm' 'gconf' 'guile' 'desktop-file-utils' 'libcanberra' 'clutter-gtk' 'hicolor-icon-theme' 'librsvg' 'seed' 'pygobject') +makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection') +provides=('glchess') +conflicts=('glchess') +options=('!emptydirs' '!libtool') +install=gnome-games.install +url="http://www.gnome.org" +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('1b731d691806d89d411a6bfaaca05a441555adee2760b97bb80fb5ded8326cb1') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-scrollkeeper \ + --disable-static \ + --with-scores-user=root --with-scores-group=games \ + --enable-introspection=yes + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + # Remove all scores, we generate them from postinstall + rm -rf "${pkgdir}/var" + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-games ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas + + sed -i 's_#! /usr/bin/env python_#!/usr/bin/env python2_' ${pkgdir}/usr/bin/gnome-sudoku +} |