diff options
Diffstat (limited to 'scons/Pkgfile')
-rw-r--r-- | scons/Pkgfile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/scons/Pkgfile b/scons/Pkgfile index 90683bf0f..aa30897f3 100644 --- a/scons/Pkgfile +++ b/scons/Pkgfile @@ -5,13 +5,18 @@ # Run on: name=scons -version=2.0.1 +version=2.1.0 release=1 source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz) + build () -{ - cd $name-$version - python2 setup.py install --standard-lib --prefix=/usr --install-data=/usr/share --root=$PKG; - install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$name/LICENSE +{ + cd $name-$version + python2 setup.py install \ + --standard-lib \ + --prefix=/usr \ + --install-data=/usr/share \ + --optimize=1 \ + --root=$PKG + sed -i 's|^#!.*bin/env python|#!/usr/bin/env python2|' $PKG/usr/bin/* } - |