1 #Maintainer: Bennett Goble <nivardus@gmail.com>
5 pkgdesc='Linden Lab Automated Package Management and Build System'
7 url='http://wiki.secondlife.com/wiki/Autobuild'
10 makedepends=('python2-distribute')
11 source=(http://pypi.python.org/packages/source/a/autobuild/autobuild-${pkgver}.tar.gz)
12 md5sums=('e1b9b4c69bdcc3a8bf696b88dc013d96')
15 cd $srcdir/autobuild-${pkgver}
16 python2 setup.py install --root=$pkgdir/ --optimize=1
17 sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
18 -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
19 $(find $pkgdir -name '*.py')