mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
34 lines
958 B
Bash
34 lines
958 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=scons
|
|
pkgver=2.2.0
|
|
pkgrel=1
|
|
pkgdesc="Extensible Python-based build utility"
|
|
arch=('any')
|
|
url="http://scons.org"
|
|
license=('MIT')
|
|
depends=('python2')
|
|
categories=('programming')
|
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('f737f474a02d08156c821bd2d4d4b632')
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
python2 setup.py install --standard-lib \
|
|
--prefix=/usr \
|
|
--install-data=/usr/share \
|
|
--optimize=1 \
|
|
--root="${pkgdir}" \
|
|
|| return 1
|
|
|
|
install -D -m644 LICENSE.txt \
|
|
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|