mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 09:14:37 +08:00
23 lines
625 B
Bash
23 lines
625 B
Bash
pkgname=scons
|
|
pkgver=3.0.0
|
|
pkgrel=1
|
|
pkgdesc="Extensible Python-based build utility"
|
|
arch=('x86_64')
|
|
url="http://scons.org"
|
|
license=('custom')
|
|
depends=('python3')
|
|
source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('1c99878d0eaf9b768b50721e913142d3')
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
python3 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"
|
|
}
|