2014-04-23 03:45:56 +08:00
|
|
|
pkgname=scons
|
2016-11-17 08:40:55 +08:00
|
|
|
pkgver=2.5.1
|
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')
|
|
|
|
depends=('python2')
|
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
2016-11-17 08:40:55 +08:00
|
|
|
md5sums=('aaaf09e1351a598f98d17b0cf1103e7a')
|
2014-04-23 03:45:56 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
python2 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"
|
|
|
|
}
|