summaryrefslogtreecommitdiff
path: root/extra/llvm/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-04-14 13:11:29 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-04-14 13:11:29 +0200
commit1d953269cf1d33902f0a61e4cb50ed8ed2895874 (patch)
tree5738504fa3ad42138b46f2906cf8a40b5f78afb9 /extra/llvm/PKGBUILD
parent8e5c27c1b5d01d353df2542166d50f9f456b2597 (diff)
parentcaa3e47071c8516ac31afaa0b654f5aaa4911939 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: extra/php-apc/PKGBUILD testing/glibmm/PKGBUILD testing/gtkmm3/PKGBUILD testing/udisks2/PKGBUILD
Diffstat (limited to 'extra/llvm/PKGBUILD')
-rw-r--r--extra/llvm/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
index 309c17dac..49238012b 100644
--- a/extra/llvm/PKGBUILD
+++ b/extra/llvm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 151494 2012-02-26 18:15:27Z foutrelis $
+# $Id: PKGBUILD 156067 2012-04-12 16:34:12Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Sebastian Nowicki <sebnow@gmail.com>
@@ -104,8 +104,11 @@ package_llvm() {
# We move the clang directory out of the tree so it won't get installed and
# then we bring it back in for the clang package
mv tools/clang "$srcdir"
+
# Copy missing file into the expected location
- cp bindings/ocaml/llvm/META.llvm bindings/ocaml/llvm/Release/
+ [[ $(check_option strip) == y ]] && _build_type=Release || _build_type=Debug
+ cp bindings/ocaml/llvm/META.llvm bindings/ocaml/llvm/$_build_type/
+
# -j1 is due to race conditions during the installation of the OCaml bindings
make -j1 DESTDIR="$pkgdir" install
mv "$srcdir/clang" tools