diff options
author | Solomon Choina | 2018-04-29 07:22:37 -0400 |
---|---|---|
committer | Solomon Choina | 2018-04-29 07:22:37 -0400 |
commit | 59afdc5e26a30cb49ec15ad3516421d5aaee86cf (patch) | |
tree | 3ec05bcf20f3eac43c2b1922dd813d89018c9695 | |
parent | a04722bdf9fb7b572888882dd9189b5b69e09f0a (diff) | |
download | aur-59afdc5e26a30cb49ec15ad3516421d5aaee86cf.tar.gz |
updating pkgver and linking lips in /usr/lib
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = llvm50 pkgver = 5.0.1 - pkgrel = 1 + pkgrel = 2 url = http://llvm.org/ arch = i686 arch = x86_64 @@ -12,7 +12,7 @@ pkgname=('llvm50' 'llvm50-libs' 'clang50') pkgver=5.0.1 -pkgrel=1 +pkgrel=2 _prefix="/usr/lib/llvm-5.0" arch=('i686' 'x86_64') url="http://llvm.org/" @@ -74,6 +74,7 @@ build() { .. make + make ocaml_doc # Disable automatic installation of components that go into subpackages sed -i '/clang\/cmake_install.cmake/d' tools/cmake_install.cmake @@ -97,7 +98,9 @@ package_llvm50() { # The runtime libraries go into llvm-libs mv -f "${pkgdir}${_prefix}"/lib/lib{LLVM,LTO}*.so* "$srcdir" mv -f "${pkgdir}${_prefix}"/lib/LLVMgold.so "$srcdir" - + + #remove ocaml files + rm -rf $pkgdir/usr/lib/ocaml install -Dm644 LICENSE.TXT "${pkgdir}${_prefix}/share/licenses/llvm/LICENSE" # add symbolic links in /usr/bin @@ -117,6 +120,9 @@ package_llvm50-libs() { "$srcdir"/lib{LLVM,LTO}*.so* \ "$srcdir"/LLVMgold.so \ "${pkgdir}${_prefix}/lib/" + + install -d $pkgdir/usr/lib + ln -s "${pkgdir}${_prefix}"/lib/lib{LLVM,LTO}*.so* $pkgdir/usr/lib install -Dm644 "$srcdir/llvm-$pkgver.src/LICENSE.TXT" \ "${pkgdir}${_prefix}/share/licenses/llvm-libs/LICENSE" @@ -142,4 +148,4 @@ package_clang50() { ln -f -s "${_prefix}/bin/$f" "$pkgdir/usr/bin/${f%-5.0}-5.0" done } -# vim:set ts=2 sw=2 et:
\ No newline at end of file +# vim:set ts=2 sw=2 et: |