[arch-commits] Commit in ocaml-yojson/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Thu Mar 29 14:45:45 UTC 2018
Date: Thursday, March 29, 2018 @ 14:45:44
Author: archange
Revision: 313406
upgpkg: ocaml-yojson 1.4.1-1
Also adapt to changes in dune.
Modified:
ocaml-yojson/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-29 14:28:03 UTC (rev 313405)
+++ PKGBUILD 2018-03-29 14:45:44 UTC (rev 313406)
@@ -2,7 +2,7 @@
_pkgname=yojson
pkgname=ocaml-${_pkgname}
-pkgver=1.4.0
+pkgver=1.4.1
pkgrel=1
pkgdesc="An optimized parsing and printing library for JSON"
arch=('x86_64')
@@ -10,9 +10,9 @@
license=('BSD')
options=('!strip' 'staticlibs')
depends=('ocaml-biniou' 'ocaml-easy-format')
-makedepends=('ocaml-findlib' 'dune' 'cppo' 'opam')
+makedepends=('dune' 'cppo')
source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('7d06340b769ed6ff5b2171a0e820d1e8f4337aef3929090fc976efe845639146')
+sha256sums=('c081a8cb5a03bddbcac4614f468cf5edafe11805277572af4071e362be6611fb')
build() {
cd ${_pkgname}-${pkgver}
@@ -27,12 +27,12 @@
package() {
cd ${_pkgname}-${pkgver}
- # Initialize OPAM
+ # Initialize OPAM, this should be removed once opam is “removed” from dune
export OPAMROOT="${srcdir}"/opam
opam init -n
- # Work around missing install command
- OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" jbuilder install
+ # Work around the install command
+ make OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" install
# Install LICENSE
install -Dm644 "${srcdir}"/opam/system/doc/${_pkgname}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
More information about the arch-commits
mailing list