updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / python-urwid-hg-stable / PKGBUILD
blob86069417686f87fbf3df169b4a17eb89c03bfc81
1 # maintainer: Sharn <go__cart91@hotmail.com>
3 pkgname=python-urwid-hg-stable
4 pkgdesc="Urwid is  a curses-based user interface library."
5 pkgver=85
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' 'python-urwid-hg')
13 provides=('python-urwid' 'python-urwid-hg')
14 source=()
15 md5sums=()
17 _hgroot="https://excess.org/hg"
18 _hgrepo="urwid-0.9.8"
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