PKGBUILD 911 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#
# 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
abveritas's avatar
abveritas committed
12
pkgrel=3
13 14 15 16
pkgdesc="Extensible Python-based build utility"
arch=('i686' 'x86_64')
url="http://scons.org"
license=('custom')
Manuel's avatar
Manuel committed
17
depends=('python2')
18 19 20 21 22 23
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('beca648b894cdbf85383fffc79516d18')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

Manuel's avatar
Manuel committed
24
  python2 setup.py install --standard-lib \
25 26 27 28
                          --prefix=/usr \
                          --install-data=/usr/share --root="${pkgdir}" || return 1
  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}