updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / same-gnome / PKGBUILD
blob4296da63c69217dfbfd0cd998952fc06988bc877
1 # $Id: PKGBUILD 44591 2009-07-02 20:09:33Z jgc $
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Maintainer: Mario Blättermann <mariobl@gnome.org>
5 pkgname=same-gnome
6 pkgver=2.26.3
7 pkgrel=1
8 pkgdesc="Puzzle game for GNOME"
9 arch=(i686 x86_64)
10 license=('GPL')
11 depends=('libsm' 'gconf>=2.26.0-2' 'guile>=1.8.6' 'librsvg>=2.26.0' 'filesystem>=0.8-3' 'desktop-file-utils' 'gstreamer0.10>=0.10.22' 'ggz-client-libs>=0.0.14.1')
12 makedepends=('pkgconfig' 'gnome-doc-utils>=0.16.0' 'intltool')
13 provides=('same-gnome')
14 conflicts=('gnome-games<=2.28')
15 options=('!emptydirs')
16 install=same-gnome.install
17 url="http://www.gnome.org"
18 groups=('gnome')
19 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/gnome-games-${pkgver}.tar.bz2)
20 md5sums=('32c69a25671d8d23b19f234efcc177ca')
23 build() {
24   cd "${srcdir}/gnome-games-${pkgver}"
25   ./configure --prefix=/usr --sysconfdir=/etc \
26               --localstatedir=/var --disable-scrollkeeper \
27               --with-scores-user=root --with-scores-group=games \
28               --with-games=same-gnome \
29               --with-sound=gstreamer --disable-tests || return 1
30   make || return 1
31   cd same-gnome
32   make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
34   # Remove all scores, we generate them from postinstall
35   rm -rf "${pkgdir}/var"
37   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
38   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-games ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
39   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas