# 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"