mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
22 lines
562 B
Bash
22 lines
562 B
Bash
# 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
|
|
}
|