community/distcc to 3.1-8

This commit is contained in:
Kevin Mihelich 2012-09-05 12:32:30 +00:00
parent 6d5bd9038a
commit 91dd2d0ba1
2 changed files with 16 additions and 4 deletions

View file

@ -3,16 +3,14 @@
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# ALARM: Kevin Mihelich <kevin@plugapps.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - added --without-avahi to configure
# - removed gtk2 from deps and --with-gtk from configure
# - added patch to provide user-configurable IO timeouts (credit: Sascha Demetrio)
plugrel=1
pkgname=distcc
pkgver=3.1
pkgrel=7
pkgrel=8
pkgdesc="A distributed C, C++, Obj C compiler"
arch=('i686' 'x86_64')
url="http://code.google.com/p/distcc/"
@ -24,10 +22,12 @@ backup=(etc/conf.d/distccd)
source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2
distccd
distccd.conf.d
distccd.service
alarm.patch)
md5sums=('a1a9d3853df7133669fffec2a9aab9f3'
'1c918474372c09304772c20c4de484fa'
'89aaf6e9072092e283465a14e83f0f94'
'bb24748257d9b0739e18b494cae08633'
'5cdf2b5be232a9da1d473e36dda978a0')
build() {
@ -59,4 +59,6 @@ package() {
ln -sf /usr/bin/${pkgname} ${pkgdir}/usr/lib/${pkgname}/bin/g++
ln -sf /usr/bin/${pkgname} ${pkgdir}/usr/lib/${pkgname}/bin/c++
ln -sf /usr/bin/${pkgname} ${pkgdir}/usr/lib/${pkgname}/bin/cpp
install -Dm0644 $srcdir/distccd.service $pkgdir/usr/lib/systemd/system/distccd.service
}

View file

@ -0,0 +1,10 @@
[Unit]
Description=A distributed C/C++ compiler
Documentation=man:distccd(1)
[Service]
EnvironmentFile=/etc/conf.d/distccd
ExecStart=/usr/bin/distccd --daemon --no-detach $DISTCC_ARGS
[Install]
WantedBy=multi-user.target