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

Jürgen Hötzel juergen at archlinux.org
Thu Nov 29 07:15:25 UTC 2018


    Date: Thursday, November 29, 2018 @ 07:15:24
  Author: juergen
Revision: 410509

archrelease: copy trunk to community-x86_64

Added:
  ocaml-biniou/repos/community-x86_64/PKGBUILD
    (from rev 410508, ocaml-biniou/trunk/PKGBUILD)
Deleted:
  ocaml-biniou/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 32 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-29 07:15:15 UTC (rev 410508)
+++ PKGBUILD	2018-11-29 07:15:24 UTC (rev 410509)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkgname=biniou
-pkgname=ocaml-${_pkgname}
-pkgver=1.2.0
-pkgrel=3
-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-easy-format')
-makedepends=('dune')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('d939a9d58660201738c3d22ad5b7976deb2917b22591a07525807bb741357d36')
-
-build() {
-    cd ${_pkgname}-${pkgver}
-    make all
-}
-
-check() {
-    cd ${_pkgname}-${pkgver}
-    make test
-}
-
-package() {
-    cd ${_pkgname}-${pkgver}
-    # Work around install command
-    dune install --prefix="${pkgdir}"/usr/ --libdir="${pkgdir}$(ocamlfind printconf destdir)"
-    rm -r "${pkgdir}"/usr/doc
-    # Install LICENSE
-    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: ocaml-biniou/repos/community-x86_64/PKGBUILD (from rev 410508, ocaml-biniou/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-29 07:15:24 UTC (rev 410509)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=biniou
+pkgname=ocaml-${_pkgname}
+pkgver=1.2.0
+pkgrel=4
+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-easy-format')
+makedepends=('dune')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('d939a9d58660201738c3d22ad5b7976deb2917b22591a07525807bb741357d36')
+
+build() {
+    cd ${_pkgname}-${pkgver}
+    make all
+}
+
+check() {
+    cd ${_pkgname}-${pkgver}
+    make test
+}
+
+package() {
+    cd ${_pkgname}-${pkgver}
+    DESTDIR="${pkgdir}" dune install --prefix=/usr --libdir="$(ocamlfind printconf destdir)"
+    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+    rm -r "${pkgdir}"/usr/doc
+}



More information about the arch-commits mailing list