alarm/llvm50 to 5.0.2-2

This commit is contained in:
Kevin Mihelich 2018-06-02 04:34:13 +00:00
parent 32e26f1087
commit d455415bd1

View file

@ -17,7 +17,7 @@ highmem=1
pkgname=('llvm50' 'llvm50-libs' 'clang50')
pkgver=5.0.2
pkgrel=1
pkgrel=2
_ocaml_ver=4.06.0
arch=('x86_64')
url="http://llvm.org/"
@ -129,15 +129,7 @@ package_llvm50-libs() {
depends=('gcc-libs' 'zlib' 'libffi' 'libedit' 'ncurses')
install -d "$pkgdir/usr/lib"
cp -P \
"$srcdir"/lib{LLVM,LTO}*.so* \
"$srcdir"/LLVMgold.so \
"$pkgdir/usr/lib/"
# Symlink LLVMgold.so from /usr/lib/bfd-plugins
# https://bugs.archlinux.org/task/28479
install -d "$pkgdir/usr/lib/bfd-plugins"
ln -s ../LLVMgold.so "$pkgdir/usr/lib/bfd-plugins/LLVMgold.so"
cp -P "$srcdir"/libLLVM-*.so "$pkgdir/usr/lib/"
install -Dm644 "$srcdir/llvm-$pkgver.src/LICENSE.TXT" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"