Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

community/distcc to 3.1-8

  • Loading branch information...
commit 91dd2d0ba11fa55f06b3df48a8d3b8cf05ab4c3f 1 parent 6d5bd90
@kmihelich kmihelich authored
Showing with 16 additions and 4 deletions.
  1. +6 −4 community/distcc/PKGBUILD
  2. +10 −0 community/distcc/distccd.service
View
10 community/distcc/PKGBUILD
@@ -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
10 community/distcc/distccd.service
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.