llvm: add alternatives group for cc

[ci skip]
This commit is contained in:
Johannes Brechtmann 2018-04-20 23:05:20 +02:00 committed by Toyam Cox
parent b9daff32a5
commit 0f46eae1f0
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'llvm'
pkgname=llvm
version=6.0.0
revision=1
revision=2
wrksrc="llvm-${version}.src"
lib32disabled=yes
build_style=cmake
@ -188,6 +188,7 @@ clang_package() {
*) depends+=" glibc-devel";;
esac
short_desc+=" - C language family frontend"
alternatives="cc:cc:/usr/bin/clang"
homepage="http://clang.llvm.org/"
pkg_install() {
vmove usr/include/clang