2014-04-23 03:45:56 +08:00
|
|
|
pkgname=scons
|
2017-10-05 18:40:53 +08:00
|
|
|
pkgver=3.0.0
|
2016-03-14 23:46:11 +08:00
|
|
|
pkgrel=1
|
2014-04-23 03:45:56 +08:00
|
|
|
pkgdesc="Extensible Python-based build utility"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://scons.org"
|
|
|
|
license=('custom')
|
2017-10-05 18:40:53 +08:00
|
|
|
depends=('python3')
|
|
|
|
source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
|
|
md5sums=('1c99878d0eaf9b768b50721e913142d3')
|
2014-04-23 03:45:56 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
2017-10-05 18:40:53 +08:00
|
|
|
python3 setup.py install --standard-lib \
|
2016-11-17 08:40:55 +08:00
|
|
|
--prefix=/usr \
|
|
|
|
--install-data=/usr/share \
|
|
|
|
--optimize=1 \
|
|
|
|
--root="${pkgdir}"
|
2014-04-23 03:45:56 +08:00
|
|
|
|
|
|
|
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
}
|