community/distcc to 3.3.3-8

This commit is contained in:
Kevin Mihelich 2020-12-21 03:24:57 +00:00
parent fa4b2e952c
commit 9a5a12ceac

View file

@ -11,7 +11,7 @@
pkgname=distcc
pkgver=3.3.3
pkgrel=7
pkgrel=8
pkgdesc='Distributed compilation service for C, C++ and Objective-C'
arch=(x86_64)
url='https://github.com/distcc/distcc'
@ -34,12 +34,9 @@ sha256sums=('SKIP'
prepare() {
cd "$pkgname"
patch -p1 -i ../allow-zero-timeout.patch
patch -p1 -i ../allow-zero-timeout.patch
./autogen.sh
sed -i 's/ install-gnome-data//g' Makefile.in
# FS#66418, support Python 3.9
find . -name "*.py" -type f -exec sed -i 's/time.clock()/time.perf_counter()/g' {} \;
}
@ -69,12 +66,6 @@ package() {
install -Dm644 distccd.service \
"$pkgdir/usr/lib/systemd/system/distccd.service"
# Desktop shortcut
install -Dm644 "$pkgname/gnome/distccmon-gnome-icon.png" \
"$pkgdir/usr/share/pixmaps/distccmon-gnome-icon.png"
install -Dm644 "$pkgname/gnome/distccmon-gnome.desktop" \
"$pkgdir/usr/share/applications/distccmon-gnome.desktop"
# Symlinks
install -d "$pkgdir/usr/lib/$pkgname/bin"
_targets=(c++ c89 c99 cc clang clang++ cpp g++ gcc)
@ -90,4 +81,3 @@ package() {
}
# getver: distcc.org
# vim: ts=2 sw=2 et: