diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3,18 +3,18 @@ _pkgname=biniou pkgname=ocaml-${_pkgname} -pkgver=1.2.1 -pkgrel=4 +pkgver=1.2.2 +pkgrel=7 pkgdesc="An optimized parsing and printing library for JSON" arch=('x86_64') url="https://github.com/ocaml-community/${_pkgname}" license=('BSD') options=('!strip' 'staticlibs') provides=('ocaml-biniou') -depends=('ocaml-easy-format') +depends=('ocaml' 'ocaml-easy-format' 'camlp-streams') makedepends=('dune') source=("${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tbz") -sha256sums=('35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335') +sha256sums=('8bf3ff17cd0ecb2d6b6d1d94cb08ef089d44caef96e9bae6be6839d428fa318f') build() { cd ${_pkgname}-${pkgver} @@ -28,7 +28,7 @@ check() { package() { cd ${_pkgname}-${pkgver} - DESTDIR="${pkgdir}" dune install --prefix=/usr --libdir="$(ocamlfind printconf destdir)" + DESTDIR="${pkgdir}" dune install --prefix=/usr --libdir="$(ocamlc -where)" install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ rm -r "${pkgdir}"/usr/doc } |