updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / python-urwid-hg / PKGBUILD
blob1f3db1c0e36b473b9d4891d2e729aba355a71a3a
1 # maintainer: palbo <palbof@gmail.com>
3 pkgname=python-urwid-hg
4 pkgdesc="Urwid is  a curses-based user interface library."
5 pkgver=154
6 pkgrel=1
7 license=('LGPL')
8 arch=('i686' 'x86_64')
9 depends=('python>=2.4')
10 makedepends=('mercurial')
11 url="http://excess.org/urwid/"
12 conflicts=(python-urwid)
13 provides=(python-urwid)
14 source=()
15 md5sums=()
17 _hgroot="https://excess.org/hg"
18 _hgrepo="urwid"
20 build() {
21   cd $startdir/src
23   cp -r $_hgrepo $_hgrepo-build
24   cd $_hgrepo-build
26   python setup.py install --prefix=/usr --root=$startdir/pkg || return 1
28   rm -rf $startdir/src/$_hgrepo-build