summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcondy2022-08-14 18:31:46 +0800
committercondy2022-08-14 18:31:46 +0800
commit2002631a501099635b1f5fe1f89d951d23727375 (patch)
tree9f787f475bf385cce902501e44a3640878426c9e
parentf9673fd50db644fe82b537e28a04a851c1cc8f1f (diff)
downloadaur-2002631a501099635b1f5fe1f89d951d23727375.tar.gz
Add ocaml dependency
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9eabb68317d..f59eba0351c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = ocaml-yojson
pkgdesc = Low level JSON binary for OCaml
pkgver = 1.7.0
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/ocaml-community/yojson
arch = x86_64
license = BSD
makedepends = dune
makedepends = cppo
+ depends = ocaml
depends = ocaml-biniou
depends = ocaml-easy-format
provides = ocaml-yojson
diff --git a/PKGBUILD b/PKGBUILD
index 2f5af729e1e1..24dcab5a1cbc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=yojson
pkgname=ocaml-${_pkgname}
pkgver=1.7.0
-pkgrel=4
+pkgrel=5
pkgdesc="Low level JSON binary for OCaml"
arch=('x86_64')
url="https://github.com/ocaml-community/${_pkgname}"
@@ -12,7 +12,7 @@ license=('BSD')
options=('!strip' 'staticlibs')
provides=('ocaml-yojson')
conflicts=('ocaml-yojson')
-depends=('ocaml-biniou' 'ocaml-easy-format')
+depends=('ocaml' 'ocaml-biniou' 'ocaml-easy-format')
makedepends=('dune' 'cppo')
source=(https://github.com/ocaml-community/${_pkgname}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tbz)
sha256sums=('656fc65f794186274f8b961dc38daba9e2de2fc993829291defbda2186812cc6')