summaryrefslogtreecommitdiff
path: root/extra/python-urwid/PKGBUILD
blob: 2d15fdcf15e42e9ec8fc0f8f8d69b72247a0882f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD,v 1.10 2009/03/13 21:14:09 sergej Exp $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>

pkgname=python-urwid
pkgver=0.9.9.1
pkgrel=2
pkgdesc="Urwid is a curses-based user interface library."
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('python2')
url="http://excess.org/urwid/"
source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
md5sums=('4722cdf898f711dcae1121aa80920152')

build() {
  cd $startdir/src/urwid-$pkgver
  sed -i 's#bin/python#bin/python2#' urwid/*.py
  python2 setup.py install --prefix=/usr --root=$startdir/pkg || return 1

  rm -rf $startdir/src/$_hgname-build
}