[arch-commits] Commit in ocaml-yojson/trunk (PKGBUILD)

Jürgen Hötzel juergen at archlinux.org
Fri Aug 16 06:31:45 UTC 2019


    Date: Friday, August 16, 2019 @ 06:31:45
  Author: juergen
Revision: 499750

OCaml 4.08 rebuild

Modified:
  ocaml-yojson/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-16 06:30:11 UTC (rev 499749)
+++ PKGBUILD	2019-08-16 06:31:45 UTC (rev 499750)
@@ -3,7 +3,7 @@
 _pkgname=yojson
 pkgname=ocaml-${_pkgname}
 pkgver=1.4.1
-pkgrel=4
+pkgrel=5
 pkgdesc="An optimized parsing and printing library for JSON"
 arch=('x86_64')
 url="https://github.com/mjambon/${_pkgname}"
@@ -11,9 +11,15 @@
 options=('!strip' 'staticlibs')
 depends=('ocaml-biniou' 'ocaml-easy-format')
 makedepends=('dune' 'cppo')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('c081a8cb5a03bddbcac4614f468cf5edafe11805277572af4071e362be6611fb')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz"
+	'https://github.com/ocaml-community/yojson/commit/a8095892a38d2a4e98f963c2627ac8cc484e0bbf.patch')
+sha256sums=('c081a8cb5a03bddbcac4614f468cf5edafe11805277572af4071e362be6611fb' '62aeecc4a880f59fcfaa51ad27826e0ad418adb59b3b125ec4d60fe7f671f1b9')
 
+prepare() {
+    cd ${_pkgname}-${pkgver}
+    # fix jbuild dependencies for cppo generation
+    patch -p1 -i "${srcdir}/a8095892a38d2a4e98f963c2627ac8cc484e0bbf.patch"
+}
 build() {
     cd ${_pkgname}-${pkgver}
     make all


More information about the arch-commits mailing list