PKGBUILDs/alarm/python2-ansi2html/PKGBUILD
2013-06-12 14:22:49 -06:00

20 lines
567 B
Bash

# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
_name=ansi2html
pkgname=python2-${_name}
pkgver=0.9.4
pkgrel=1
pkgdesc="Convert text with ANSI color codes to HTML"
arch=('i686' 'x86_64')
url="https://pypi.python.org/pypi/ansi2html/${pkgver}"
license=('GPL')
depends=('python2')
makedepends=('python2-distribute')
source=("http://pypi.python.org/packages/source/a/${_name}/${_name}-${pkgver}.tar.gz")
md5sums=('4f561b333f57092bcbce1f56485b2877')
package() {
cd ${srcdir}/${_name}-${pkgver}
python2 setup.py install --root=${pkgdir} --optimize=1 || return 1
}