diff options
author | archibald869 | 2021-10-22 20:55:37 +0200 |
---|---|---|
committer | archibald869 | 2021-10-22 20:55:37 +0200 |
commit | 5d1d8b78cf65f0a304b1b279b05361742cfa8cef (patch) | |
tree | 2593a74988e489767c7e51ff2bdec9334daa8bd2 /PKGBUILD | |
parent | b8564922c661b774c0bc14dc829c53f3045c8131 (diff) | |
download | aur-5d1d8b78cf65f0a304b1b279b05361742cfa8cef.tar.gz |
Adjust cling target locations
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=cling pkgver=0.9 -pkgrel=2 +pkgrel=3 pkgdesc="Interactive C++ interpreter, built on the top of LLVM and Clang libraries" arch=("i686" "x86_64") url="https://root.cern.ch/cling" @@ -79,6 +79,10 @@ package() { install -Dm644 "$srcdir/build/lib/cmake/cling/ClingTargets.cmake" \ "$pkgdir/opt/cling/lib/cmake/cling" + # adjust cling target locations + sed -Ei 's#(IMPORTED_LOCATION_RELEASE) ".*/([^/]*)"#\1 "/opt/cling/lib/\2"#g' \ + "$pkgdir/opt/cling/lib/cmake/cling/ClingTargets.cmake" + # omit man page for clang's scan-build rm -f "$pkgdir/opt/cling/share/man/man1/scan-build.1" |