updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / autobuild / PKGBUILD
blobc4be13741d3d4408dfc3e65f926b0e2f29f5c3a7
1 #Maintainer: Bennett Goble <nivardus@gmail.com>
2 pkgname=autobuild
3 pkgver=0.8.5
4 pkgrel=1
5 pkgdesc='Linden Lab Automated Package Management and Build System'
6 arch=('any')
7 url='http://wiki.secondlife.com/wiki/Autobuild'
8 license=('MIT')
9 depends=('python2')
10 makedepends=('python2-distribute')
11 source=(http://pypi.python.org/packages/source/a/autobuild/autobuild-${pkgver}.tar.gz)
12 md5sums=('e1b9b4c69bdcc3a8bf696b88dc013d96')
14 build() {
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')