[arch-commits] Commit in ocaml-biniou/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jürgen Hötzel
juergen at archlinux.org
Tue Aug 14 15:59:11 UTC 2018
Date: Tuesday, August 14, 2018 @ 15:59:10
Author: juergen
Revision: 371595
archrelease: copy trunk to community-x86_64
Added:
ocaml-biniou/repos/community-x86_64/PKGBUILD
(from rev 371594, ocaml-biniou/trunk/PKGBUILD)
Deleted:
ocaml-biniou/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-14 15:58:48 UTC (rev 371594)
+++ PKGBUILD 2018-08-14 15:59:10 UTC (rev 371595)
@@ -1,39 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkgname=biniou
-pkgname=ocaml-${_pkgname}
-pkgver=1.2.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-easy-format')
-makedepends=('ocaml-findlib' 'dune' 'opam')
-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}
-
- # 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-biniou/repos/community-x86_64/PKGBUILD (from rev 371594, ocaml-biniou/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-14 15:59:10 UTC (rev 371595)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=biniou
+pkgname=ocaml-${_pkgname}
+pkgver=1.2.0
+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-easy-format')
+makedepends=('ocaml-findlib' 'dune' 'opam')
+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}
+
+ # 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}/
+}
More information about the arch-commits
mailing list