[arch-commits] Commit in distcc/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Thu Jan 11 08:13:12 UTC 2018
Date: Thursday, January 11, 2018 @ 08:13:10
Author: arodseth
Revision: 281291
upgpkg: distcc 3.2rc1-4
Modified:
distcc/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-11 07:44:18 UTC (rev 281290)
+++ PKGBUILD 2018-01-11 08:13:10 UTC (rev 281291)
@@ -6,7 +6,7 @@
pkgname=distcc
pkgver=3.2rc1
-pkgrel=3
+pkgrel=4
pkgdesc='Distributed C, C++ and Objective-C compiler'
arch=('x86_64')
url='https://github.com/distcc/distcc'
@@ -23,7 +23,6 @@
sha256sums=('33e85981ff6afd94efc38b23b2d8b9036b3dff2dc6eac6982b9ff0ae1de64caa'
'43e02b461841ca2976816c244a0eca8b24820ca143f73cc0924403d75a8c012f'
'0f18ffb58647eeba643f28e9029a5d307100df3470eb228097f2b3f4196d8098')
-
prepare() {
cd "$srcdir/$pkgname-$pkgver"
@@ -36,10 +35,10 @@
[ -f Makefile ] || PYTHON=/usr/bin/python2 \
./configure \
--prefix=/usr \
- --with-gtk \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --enable-rfc2553
+ --with-gtk \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --enable-rfc2553
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
}
@@ -49,13 +48,14 @@
make DESTDIR="$pkgdir" INCLUDESERVER_PYTHON=/usr/bin/python2 install
+ install -Dm644 "$srcdir/distccd.conf.d" "$pkgdir/etc/conf.d/distccd"
+ install -Dm644 "$srcdir/distccd.service" \
+ "$pkgdir/usr/lib/systemd/system/distccd.service"
install -d "$pkgdir/usr/lib/$pkgname/bin"
- for bin in gc gcc g++ c++ cpp; do
+ for bin in c++ cc cpp g++ gcc; do
ln -sf "/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/bin/$bin"
done
- install -Dm644 "$srcdir/distccd.conf.d" "$pkgdir/etc/conf.d/distccd"
- install -Dm644 "$srcdir/distccd.service" "$pkgdir/usr/lib/systemd/system/distccd.service"
}
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list