# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=scons
pkgver=3.1.2
pkgrel=0
pkgdesc="Python-based software building system"
url="https://scons.org/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="https://prdownloads.sourceforge.net/scons/scons-$pkgver.tar.gz
	python3-bang.patch
	"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="bfc0d58d33408a03eb37c1eff166af8139078026e6b43d6274afceac889d0a6743e359e89ad9a30be5ca43aeed26fba92fa4732854750b7d53091ef3e99b3d33  scons-3.1.2.tar.gz
cb8be26f0d8cae7974dffcb3008c67254e8904bb8bb91f9732dd01a9942e33d57527101ec4104a866061096b991a336d00b344da48cf835489fc5d26fb1f331e  python3-bang.patch"