mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 23:24:38 +08:00
25 lines
699 B
Bash
25 lines
699 B
Bash
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
pkgname=scons
|
||
|
pkgver=2.3.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=('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"
|
||
|
}
|