1 # Contributor: Andrew Gallant <andrew@pytyle.com>
2 # Maintainer: Andrew Gallant
6 pkgdesc="Auto/manual on-demand tiling manager that fits in any EWMH compatible window manager."
8 url="http://pytyle.com"
11 makedepends=('mercurial')
12 depends=('python2>=2.6' 'xpyb-git')
17 _hgroot="https://pytyle.googlecode.com/hg/"
22 msg "Connecting to Mercurial server..."
24 if [ -d $_hgrepo ]; then
26 hg pull -u || return 1
27 msg "The local files are updated."
29 hg clone $_hgroot $_hgrepo || return 1
32 msg "Mercurial checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_hgrepo-build"
36 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
37 cd "$srcdir/$_hgrepo-build"
39 python2 ./setup.py install --root=$pkgdir || return 1