updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / gtetrinet / PKGBUILD
blobb9de43e432729c1c43f67f58a06de6766ee2cd85
1 # $Id: PKGBUILD,v 1.15 2007/04/22 20:19:54 jgc Exp $
2 # Maintainer: dale <dale@archlinux.org>
4 pkgname=gtetrinet
5 pkgver=0.7.11
6 pkgrel=2
7 pkgdesc="A clone of the game Tetrinet for the gnome environment."
8 arch=(i686 x86_64)
9 license=('GPL')
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')
17 build() {
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
21   make || 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