1 # $Id: PKGBUILD,v 1.15 2007/04/22 20:19:54 jgc Exp $
2 # Maintainer: dale <dale@archlinux.org>
7 pkgdesc="A clone of the game Tetrinet for the gnome environment."
10 depends=('libgnomeui>=2.18.1-2')
11 makedepends=('perlxml' 'pkgconfig')
12 install=gtetrinet.install
13 url="http://gtetrinet.sourceforge.net/"
14 source=(http://ftp.gnome.org/pub/GNOME/sources/gtetrinet/0.7/${pkgname}-${pkgver}.tar.bz2)
15 md5sums=('7d113e49506e44b836ce6f259fd3ad88')
18 cd ${startdir}/src/${pkgname}-${pkgver}
19 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
20 sed -i -e 's/games$/bin/g' src/Makefile || return 1
22 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
24 mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
25 gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
26 rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas