desktop/scons/PKGBUILD
2011-01-22 21:29:28 +00:00

29 lines
911 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>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=scons
pkgver=2.0.1
pkgrel=3
pkgdesc="Extensible Python-based build utility"
arch=('i686' 'x86_64')
url="http://scons.org"
license=('custom')
depends=('python2')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('beca648b894cdbf85383fffc79516d18')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --standard-lib \
--prefix=/usr \
--install-data=/usr/share --root="${pkgdir}" || return 1
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}