diff --git a/alarm/python2-ansi2html/PKGBUILD b/alarm/python2-ansi2html/PKGBUILD new file mode 100644 index 000000000..1225fcb7d --- /dev/null +++ b/alarm/python2-ansi2html/PKGBUILD @@ -0,0 +1,20 @@ +# ALARM: Kevin Mihelich + +_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 +}