mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:47:13 +08:00
25 lines
671 B
Bash
25 lines
671 B
Bash
# maintainer: almack <almack[at]chakraos[dot]org>
|
|
|
|
pkgname=scons
|
|
pkgver=2.3.1
|
|
pkgrel=2
|
|
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=('60a3cfb98b661df9f4406c61b5686bd7')
|
|
|
|
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"
|
|
}
|