aboutsummaryrefslogtreecommitdiffstats
path: root/main/scons/APKBUILD
blob: 9d252b4cf525377615e4917c539b1f3c4bbfc86b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: 
# Maintainer: 
pkgname=scons
pkgver=3.0.5
pkgrel=0
pkgdesc="Software construction system"
url="http://www.scons.org"
arch="noarch"
license="MIT"
# before upgrade to python3, make sure that packages like serf builds with scons with python3
depends="python2"
makedepends="python2-dev"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

check() {
	cd "$builddir"
	python2 setup.py check
}

sha512sums="0477038b014674049f12899b64584d44a85283d521b2422561e42020a5ae296a5af005684087c3ff410ed3fcbdcc5ff61998bc429eb29513f2a864138ffc4945  scons-3.0.5.tar.gz"