29 lines
898 B
Bash
29 lines
898 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=scons
|
|
pkgver=4.0.1
|
|
pkgrel=1
|
|
pkgdesc="Extensible Python-based build utility"
|
|
arch=('any')
|
|
url="https://scons.org"
|
|
license=('Expat')
|
|
depends=('python')
|
|
makedepends=('python-setuptools')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
|
|
sha512sums=('f23c5dfd3c236e9f9f85b986ca64a36dbd85e9f3383cb3577e082a7dea4b83283020fbf064c2d919ab116195c6708fc11f906fcf3b0bc0533a4bc49a4f7371c6')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
|
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
install -vDm 644 {CHANGES,RELEASE}.txt \
|
|
-t "${pkgdir}/usr/share/doc/${pkgname}/"
|
|
install -vDm 644 README.rst \
|
|
-t "${pkgdir}/usr/share/doc/${pkgname}/"
|
|
}
|