summaryrefslogtreecommitdiff
path: root/extra/llvm/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-27 23:15:24 +0000
committerroot <root@rshg054.dnsready.net>2012-02-27 23:15:24 +0000
commit1f567a9d58d16b76320168f0624aa55bd6320284 (patch)
treee4e7ffadc364d582fccd8543ad1543fa9741a8a7 /extra/llvm/PKGBUILD
parentf6a79a3f5989efc8db63af942851c56f0c462bb1 (diff)
Mon Feb 27 23:15:24 UTC 2012
Diffstat (limited to 'extra/llvm/PKGBUILD')
-rw-r--r--extra/llvm/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
index f954897da..82cb21881 100644
--- a/extra/llvm/PKGBUILD
+++ b/extra/llvm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 144867 2011-12-08 20:35:39Z foutrelis $
+# $Id: PKGBUILD 151494 2012-02-26 18:15:27Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Sebastian Nowicki <sebnow@gmail.com>
@@ -11,7 +11,7 @@
pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
pkgver=3.0
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
@@ -130,6 +130,11 @@ package_llvm() {
install -d "$pkgdir/etc/ld.so.conf.d"
echo /usr/lib/llvm >"$pkgdir/etc/ld.so.conf.d/llvm.conf"
+ # Symlink LLVMgold.so into /usr/lib/bfd-plugins
+ # (https://bugs.archlinux.org/task/28479)
+ install -d "$pkgdir/usr/lib/bfd-plugins"
+ ln -s ../llvm/LLVMgold.so "$pkgdir/usr/lib/bfd-plugins/LLVMgold.so"
+
install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}