1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer: Bernardo Barros <bernardobarros@gmail.com>
6 pkgdesc="a chess game (pygtk)"
8 url="http://code.google.com/p/pychess/"
10 depends=('python-pysqlite' 'gnome-python-desktop' 'gnome-icon-theme' 'pygtksourceview2'
11 'gstreamer0.10-python')
12 optdepends=('gstreamer0-10-base-plugins')
16 _hgroot="https://pychess.googlecode.com/hg/"
21 msg "Connecting to Mercurial server...."
23 if [ -d $_hgrepo ] ; then
26 msg "The local files are updated."
28 hg clone $_hgroot $_hgrepo
31 msg "Mercurial checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_hgrepo-build"
35 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
36 cd "$srcdir/$_hgrepo-build"
38 python2 setup.py install --prefix=/usr --root=$pkgdir