[arch-commits] Commit in ocaml-yojson/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jürgen Hötzel juergen at archlinux.org
Tue Aug 14 16:07:57 UTC 2018


    Date: Tuesday, August 14, 2018 @ 16:07:57
  Author: juergen
Revision: 371603

archrelease: copy trunk to community-x86_64

Added:
  ocaml-yojson/repos/community-x86_64/PKGBUILD
    (from rev 371602, 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-08-14 16:07:34 UTC (rev 371602)
+++ PKGBUILD	2018-08-14 16:07:57 UTC (rev 371603)
@@ -1,39 +0,0 @@
-# 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}/
-}

Copied: ocaml-yojson/repos/community-x86_64/PKGBUILD (from rev 371602, ocaml-yojson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-14 16:07:57 UTC (rev 371603)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=yojson
+pkgname=ocaml-${_pkgname}
+pkgver=1.4.1
+pkgrel=2
+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