diff options
Diffstat (limited to 'community/distcc/PKGBUILD')
-rw-r--r-- | community/distcc/PKGBUILD | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/community/distcc/PKGBUILD b/community/distcc/PKGBUILD index 8aeb60fd5..842d04da9 100644 --- a/community/distcc/PKGBUILD +++ b/community/distcc/PKGBUILD @@ -1,34 +1,42 @@ -# $Id: PKGBUILD 50002 2011-06-23 09:01:13Z spupykin $ +# $Id: PKGBUILD 55020 2011-08-31 13:12:35Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Judd Vinet <jvinet@zeroflux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> pkgname=distcc pkgver=3.1 -pkgrel=3 +pkgrel=5 pkgdesc="A distributed C, C++, Obj C compiler" arch=('i686' 'x86_64') url="http://code.google.com/p/distcc/" license=('GPL') depends=('gcc' 'popt') -makedepends=('gtk2' 'pkgconfig') -optdepends=('gtk2: for distccmon-gnome') +makedepends=('gtk2' 'pkgconfig' 'python2') +optdepends=('gtk2: for distccmon-gnome' + 'python2') backup=(etc/conf.d/distccd) -source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 - distccd +source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 + distccd distccd.conf.d) -md5sums=('a1a9d3853df7133669fffec2a9aab9f3' +md5sums=('a1a9d3853df7133669fffec2a9aab9f3' '1c918474372c09304772c20c4de484fa' '89aaf6e9072092e283465a14e83f0f94') build() { cd "${srcdir}/${pkgname}-${pkgver}" - [ -f Makefile ] || ./configure --prefix=/usr \ + + [ -f Makefile ] || PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --with-gtk \ --sysconfdir=/etc \ --mandir=/usr/share/man make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2 } +check() { + cd "${srcdir}/${pkgname}-${pkgver}" +# make TEST_PYTHON=/usr/bin/python2 check +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}/" INCLUDESERVER_PYTHON=/usr/bin/python2 install |