mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 05:24:42 +08:00
23 lines
620 B
Bash
23 lines
620 B
Bash
pkgname=scons
|
|
pkgver=2.4.1
|
|
pkgrel=1
|
|
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)
|
|
md5sums=('9a0ddf33d9839f04380e0fae87cc4b40')
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
python2 setup.py install --standard-lib \
|
|
--prefix=/usr \
|
|
--install-data=/usr/share \
|
|
--optimize=1 \
|
|
--root="${pkgdir}"
|
|
|
|
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|