comparison python/py-ansicolor/py-ansicolor.sh @ 1222:325631424c65

misc: bring back build function
author David Demelier <markand@malikania.fr>
date Wed, 27 Oct 2021 11:32:16 +0200
parents a47aaf9743a0
children 9867e578b1a9
comparison
equal deleted inserted replaced
1221:a47aaf9743a0 1222:325631424c65
22 PKGLICENSE="APACHEv20" 22 PKGLICENSE="APACHEv20"
23 PKGSUMMARY="Library to produce ansi color output and colored highlighting and diffing" 23 PKGSUMMARY="Library to produce ansi color output and colored highlighting and diffing"
24 PKGDOWNLOAD="https://files.pythonhosted.org/packages/source/a/ansicolor/ansicolor-$PKGVERSION.tar.gz" 24 PKGDOWNLOAD="https://files.pythonhosted.org/packages/source/a/ansicolor/ansicolor-$PKGVERSION.tar.gz"
25 PKGDEPENDS="python" 25 PKGDEPENDS="python"
26 26
27 rm -rf ansicolor-$PKGVERSION 27 build()
28 tar xvf ansicolor-$PKGVERSION.tar.gz 28 {
29 cd ansicolor-$PKGVERSION 29 rm -rf ansicolor-$PKGVERSION
30 tar xvf ansicolor-$PKGVERSION.tar.gz
31 cd ansicolor-$PKGVERSION
30 32
31 python setup.py install --root=$DESTDIR --prefix=/usr 33 python setup.py install --root=$DESTDIR --prefix=/.
32 34
33 cd .. 35 cd ..
34 rm -rf ansicolor-$PKGVERSION 36 rm -rf ansicolor-$PKGVERSION
37 }