summaryrefslogtreecommitdiff
path: root/community/distcc
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-24 23:06:35 +0000
committerroot <root@rshg047.dnsready.net>2011-06-24 23:06:35 +0000
commit71f58605e914de11f3a9b7cc2f27b0c52fb8d4ba (patch)
tree948002f901215fa91b99058ec3bfc4a51475018d /community/distcc
parent7347bb994a41d021c83e97b503f577f2399302e7 (diff)
Fri Jun 24 23:06:35 UTC 2011
Diffstat (limited to 'community/distcc')
-rw-r--r--community/distcc/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/distcc/PKGBUILD b/community/distcc/PKGBUILD
index bd278b623..8aeb60fd5 100644
--- a/community/distcc/PKGBUILD
+++ b/community/distcc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 59085 2009-11-20 06:29:43Z giovanni $
+# $Id: PKGBUILD 50002 2011-06-23 09:01:13Z spupykin $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
@@ -22,12 +22,16 @@ md5sums=('a1a9d3853df7133669fffec2a9aab9f3'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
+ [ -f Makefile ] || ./configure --prefix=/usr \
--with-gtk \
--sysconfdir=/etc \
- --mandir=/usr/share/man || return 1
- make || return 1
- make DESTDIR="${pkgdir}/" install || return 1
+ --mandir=/usr/share/man
+ make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" INCLUDESERVER_PYTHON=/usr/bin/python2 install
install -D -m644 ${srcdir}/distccd.conf.d ${pkgdir}/etc/conf.d/distccd
install -D -m755 ${srcdir}/distccd ${pkgdir}/etc/rc.d/distccd