added alarm/python2-ansi2html

This commit is contained in:
Kevin Mihelich 2013-06-12 14:22:49 -06:00
parent 26efc2f73e
commit 8cfd2e7d72

View file

@ -0,0 +1,20 @@
# 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
}