[arch-commits] Commit in ocaml-yojson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Thu Mar 29 14:46:30 UTC 2018
Date: Thursday, March 29, 2018 @ 14:46:29
Author: archange
Revision: 313407
archrelease: copy trunk to community-x86_64
Added:
ocaml-yojson/repos/community-x86_64/PKGBUILD
(from rev 313406, ocaml-yojson/trunk/PKGBUILD)
Deleted:
ocaml-yojson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-29 14:45:44 UTC (rev 313406)
+++ PKGBUILD 2018-03-29 14:46:29 UTC (rev 313407)
@@ -1,39 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkgname=yojson
-pkgname=ocaml-${_pkgname}
-pkgver=1.4.0
-pkgrel=1
-pkgdesc="An optimized parsing and printing library for JSON"
-arch=('x86_64')
-url="https://github.com/mjambon/${_pkgname}"
-license=('BSD')
-options=('!strip' 'staticlibs')
-depends=('ocaml-biniou' 'ocaml-easy-format')
-makedepends=('ocaml-findlib' 'dune' 'cppo' 'opam')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('7d06340b769ed6ff5b2171a0e820d1e8f4337aef3929090fc976efe845639146')
-
-build() {
- cd ${_pkgname}-${pkgver}
- make all
-}
-
-check() {
- cd ${_pkgname}-${pkgver}
- make test
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
-
- # Initialize OPAM
- export OPAMROOT="${srcdir}"/opam
- opam init -n
-
- # Work around missing install command
- OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" jbuilder install
-
- # Install LICENSE
- install -Dm644 "${srcdir}"/opam/system/doc/${_pkgname}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: ocaml-yojson/repos/community-x86_64/PKGBUILD (from rev 313406, ocaml-yojson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-29 14:46:29 UTC (rev 313407)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=yojson
+pkgname=ocaml-${_pkgname}
+pkgver=1.4.1
+pkgrel=1
+pkgdesc="An optimized parsing and printing library for JSON"
+arch=('x86_64')
+url="https://github.com/mjambon/${_pkgname}"
+license=('BSD')
+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')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ make all
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+ make test
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+
+ # Initialize OPAM, this should be removed once opam is “removed” from dune
+ export OPAMROOT="${srcdir}"/opam
+ opam init -n
+
+ # 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