summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLone_Wolf2020-03-30 20:57:24 +0200
committerLone_Wolf2020-03-30 20:57:24 +0200
commitcd6a0c6b7d1f248c9051e0d36bf8cbab762d10cc (patch)
treee9dc9a9ddee923571d4f7d1d6fb732dea9667982
parent0ae370198160f9e66bdd89737f8f8d8b40f6fe28 (diff)
downloadaur-cd6a0c6b7d1f248c9051e0d36bf8cbab762d10cc.tar.gz
remove version dependency for ocaml
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 2 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9556f981b7d..71256d2d0e3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -69,7 +69,7 @@ pkgname = llvm-libs-git
pkgname = llvm-ocaml-git
pkgdesc = OCaml bindings for LLVM
depends = llvm-git=11.0.0_r345726.98223f7931f-1
- depends = ocaml=4.09.1
+ depends = ocaml
depends = ocaml-ctypes
provides = llvm-ocaml=11.0.0_r345726.98223f7931f-1
conflicts = llvm-ocaml
diff --git a/PKGBUILD b/PKGBUILD
index c8633a0cf3f..9f6026fa537 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -43,11 +43,6 @@ _python_optimize() {
python -OO -m compileall "$@"
}
- _ocamlver() {
- { pacman -Q ocaml 2>/dev/null || pacman -Sp --print-format '%n %v' ocaml ;} \
- | awk '{ print $2 }' | cut -d - -f 1 | cut -d . -f 1,2,3
-}
-
pkgver() {
cd llvm-project/llvm
@@ -210,7 +205,7 @@ package_llvm-libs-git() {
package_llvm-ocaml-git() {
pkgdesc="OCaml bindings for LLVM"
- depends=("llvm-git=$pkgver-$pkgrel" "ocaml=$(_ocamlver)" 'ocaml-ctypes')
+ depends=("llvm-git=$pkgver-$pkgrel" "ocaml" 'ocaml-ctypes')
conflicts=('llvm-ocaml')
provides=("llvm-ocaml=$pkgver-$pkgrel")