diff options
author | LW-archlinux | 2019-04-30 00:01:59 +0200 |
---|---|---|
committer | LW-archlinux | 2019-04-30 00:01:59 +0200 |
commit | 676d548ec788a54b355c17f635d639f13d62a9f1 (patch) | |
tree | 4d9253be3eada6a42d6676638ed0be7d49fc55a7 | |
parent | ae43a3abd7f3a1d4fd479d70808739dcc084c760 (diff) | |
download | aur-llvm-lw-git.tar.gz |
uses ninjaflags instead of makeflags, provides llvm/llvm-git again but with a specific version
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 10 deletions
@@ -1,5 +1,5 @@ pkgbase = llvm-lw-git - pkgver = 9.0.0_r315148.03c4e2663ce + pkgver = 9.0.0_r315265.6c9f6fd11b6 pkgrel = 1 url = https://llvm.org/ arch = x86_64 @@ -27,7 +27,8 @@ pkgname = llvm-lw-git depends = llvm-libs-lw-git depends = perl optdepends = python-setuptools: for using lit (LLVM Integrated Tester) - provides = llvm-git + provides = llvm=9.0.0_r315265.6c9f6fd11b6-1 + provides = llvm-git=9.0.0_r315265.6c9f6fd11b6-1 conflicts = llvm pkgname = llvm-libs-lw-git @@ -38,13 +39,14 @@ pkgname = llvm-libs-lw-git depends = libedit depends = ncurses depends = libxml2 - provides = llvm-libs-git + provides = llvm-libs-git=9.0.0_r315265.6c9f6fd11b6-1 pkgname = llvm-ocaml-lw-git pkgdesc = OCaml bindings for LLVM depends = llvm depends = ocaml=4.07.1 depends = ocaml-ctypes - provides = llvm-ocaml-git + provides = llvm-ocaml=9.0.0_r315265.6c9f6fd11b6-1 + provides = llvm-ocaml-git=9.0.0_r315265.6c9f6fd11b6-1 conflicts = llvm-ocaml @@ -15,7 +15,7 @@ pkgname=('llvm-lw-git' 'llvm-libs-lw-git' 'llvm-ocaml-lw-git') -pkgver=9.0.0_r315148.03c4e2663ce +pkgver=9.0.0_r315265.6c9f6fd11b6 pkgrel=1 _ocaml_ver=4.07.1 arch=('x86_64') @@ -70,10 +70,10 @@ build() { -DLLVM_BINUTILS_INCDIR=/usr/include \ -DLLVM_VERSION_SUFFIX="" \ -DLLVM_APPEND_VC_REV=ON - if [[ ! $MAKEFLAGS ]]; then + if [[ ! $NINJAFLAGS ]]; then ninja all ocaml_doc else - ninja "$MAKEFLAGS" all ocaml_doc + ninja "$NINJAFLAGS" all ocaml_doc fi } @@ -87,7 +87,7 @@ package_llvm-lw-git() { depends=('llvm-libs-lw-git' 'perl') optdepends=('python-setuptools: for using lit (LLVM Integrated Tester)') conflicts=('llvm') - provides=('llvm-git') + provides=(llvm=$pkgver-$pkgrel llvm-git=$pkgver-$pkgrel) cd _build @@ -126,7 +126,7 @@ package_llvm-lw-git() { package_llvm-libs-lw-git() { pkgdesc="LLVM runtime libraries" depends=('gcc-libs' 'zlib' 'libffi' 'libedit' 'ncurses' 'libxml2') - provides=('llvm-libs-git') + provides=(llvm-libs-git=$pkgver-$pkgrel) install -d "$pkgdir/usr/lib" cp -P \ @@ -141,7 +141,7 @@ package_llvm-ocaml-lw-git() { pkgdesc="OCaml bindings for LLVM" depends=('llvm' "ocaml=$_ocaml_ver" 'ocaml-ctypes') conflicts=('llvm-ocaml') - provides=('llvm-ocaml-git') + provides=(llvm-ocaml=$pkgver-$pkgrel llvm-ocaml-git=$pkgver-$pkgrel) install -d "$pkgdir"/{usr/lib,usr/share/doc/$pkgname} cp -a "$srcdir"/ocaml.lib "$pkgdir"/usr/lib/ocaml |