mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added alarm/distcc-clang
This commit is contained in:
parent
f82dce293c
commit
9edfacd6b9
1 changed files with 22 additions and 0 deletions
22
alarm/distcc-clang/PKGBUILD
Normal file
22
alarm/distcc-clang/PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
# Temporary package to trial building with clang via distcc
|
||||
|
||||
pkgname=distcc-clang
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc='distcc symlinks for clang'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/distcc/distcc'
|
||||
license=('GPL')
|
||||
depends=('distcc')
|
||||
|
||||
package() {
|
||||
# Symlinks
|
||||
install -d "$pkgdir/usr/lib/distcc/bin"
|
||||
for bin in clang clang++; do
|
||||
ln -sf "/usr/bin/distcc" "$pkgdir/usr/lib/distcc/bin/$bin"
|
||||
# Additional symlinks are needed, see FS#57978
|
||||
ln -sf "/usr/bin/distcc" "$pkgdir/usr/lib/distcc/$bin"
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue