mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
21 lines
567 B
Bash
21 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
|
||
|
}
|