mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
scons against 2.7
This commit is contained in:
parent
d94c53081c
commit
78153fb177
@ -9,19 +9,19 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|||||||
|
|
||||||
pkgname=scons
|
pkgname=scons
|
||||||
pkgver=2.0.1
|
pkgver=2.0.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Extensible Python-based build utility"
|
pkgdesc="Extensible Python-based build utility"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://scons.org"
|
url="http://scons.org"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
depends=('python')
|
depends=('python2')
|
||||||
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||||
md5sums=('beca648b894cdbf85383fffc79516d18')
|
md5sums=('beca648b894cdbf85383fffc79516d18')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
python setup.py install --standard-lib \
|
python2 setup.py install --standard-lib \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--install-data=/usr/share --root="${pkgdir}" || return 1
|
--install-data=/usr/share --root="${pkgdir}" || return 1
|
||||||
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user