summaryrefslogtreecommitdiffstats
path: root/scons/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'scons/Pkgfile')
-rw-r--r--scons/Pkgfile16
1 files changed, 8 insertions, 8 deletions
diff --git a/scons/Pkgfile b/scons/Pkgfile
index aa30897f3..3e528c8f9 100644
--- a/scons/Pkgfile
+++ b/scons/Pkgfile
@@ -1,6 +1,7 @@
# Description: SCons is an open source software contruction tool that is a substitute for make.
# URL: http://scons.org
-# Maintainer: skingrapher at legtux dot org
+# Maintainer: Steben Knight, knigt at baldmt dot com
+# Packager: tnut at nutyx dot com
# Depends on:
# Run on:
@@ -9,14 +10,13 @@ version=2.1.0
release=1
source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
-build ()
+build ()
{
cd $name-$version
- python2 setup.py install \
- --standard-lib \
- --prefix=/usr \
+ python2 setup.py install --prefix=/usr \
--install-data=/usr/share \
- --optimize=1 \
- --root=$PKG
- sed -i 's|^#!.*bin/env python|#!/usr/bin/env python2|' $PKG/usr/bin/*
+ --root=$PKG \
+ --standard-lib
+ sed -i 's:^#!.*bin/env python:#!/usr/bin/env python2:' $PKG/usr/bin/*
+ install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$name/LICENSE
}