1 # Contributor: François Boulogne <fboulogne at april dot org>
5 pkgdesc="ASCII art to image converter"
7 url="http://launchpad.net/aafigure"
9 depends=('python2' 'setuptools')
10 source=(http://pypi.python.org/packages/source/a/aafigure/aafigure-$pkgver.tar.gz LICENSE.txt aafigure.1)
15 install -D LICENSE.txt $startdir/pkg/usr/share/licenses/aafigure/COPYING
16 install -D aafigure.1 $startdir/pkg/usr/share/man/man1/aafigure.1
17 cd $startdir/src/aafigure-$pkgver
18 for file in $(find . -name '*.py' -print); do
20 sed -i 's#/usr/bin/env python#/usr/bin/env python2#' $file
22 python2 setup.py bdist_dumb || return 1
24 tar xzvf $startdir/src/aafigure-$pkgver/dist/aafigure-$pkgver.linux*.tar.gz
28 md5sums=('5322888a21eb0bb2e749fbf98eddf574'
29 '2539d72a3354d9187f2c10acebf2e6dd'
30 '82c749c825d421de0abe21c4f50c671c')