[arch-commits] Commit in llvm/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Dec 31 11:58:57 UTC 2012


    Date: Monday, December 31, 2012 @ 06:58:57
  Author: foutrelis
Revision: 173987

upgpkg: llvm 3.2-3

Fix FS#33251: [clang-analyzer] install the man page for scan-build

Modified:
  llvm/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-12-31 11:37:51 UTC (rev 173986)
+++ PKGBUILD	2012-12-31 11:58:57 UTC (rev 173987)
@@ -11,7 +11,7 @@
 
 pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
 pkgver=3.2
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://llvm.org/"
 license=('custom:University of Illinois/NCSA Open Source License')
@@ -228,6 +228,11 @@
     ln -s /usr/lib/clang-analyzer/$_tool/$_tool "$pkgdir/usr/bin/"
   done
 
+  # Relocate man page
+  install -d "$pkgdir/usr/share/man/man1"
+  mv "$pkgdir/usr/lib/clang-analyzer/scan-build/scan-build.1" \
+    "$pkgdir/usr/share/man/man1/"
+
   # Use Python 2
   sed -i \
     -e 's|env python$|&2|' \




More information about the arch-commits mailing list