summaryrefslogtreecommitdiffstats
path: root/scons/Pkgfile
blob: 3e528c8f9652bc55f9ad2934761d7b3f080b554f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: SCons is an open source software contruction tool that is a substitute for make.
# URL: http://scons.org
# Maintainer: Steben Knight, knigt at baldmt dot com
# Packager: tnut at nutyx dot com
# Depends on:
# Run on:

name=scons
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 --prefix=/usr \
		--install-data=/usr/share \
		--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
}