[arch-commits] Commit in ocaml-yojson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jürgen Hötzel
juergen at archlinux.org
Sat Aug 24 12:36:17 UTC 2019
Date: Saturday, August 24, 2019 @ 12:36:16
Author: juergen
Revision: 501474
archrelease: copy trunk to community-x86_64
Added:
ocaml-yojson/repos/community-x86_64/PKGBUILD
(from rev 501473, ocaml-yojson/trunk/PKGBUILD)
Deleted:
ocaml-yojson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-24 12:36:09 UTC (rev 501473)
+++ PKGBUILD 2019-08-24 12:36:16 UTC (rev 501474)
@@ -1,38 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkgname=yojson
-pkgname=ocaml-${_pkgname}
-pkgver=1.4.1
-pkgrel=5
-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"
- '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
-}
-
-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
-}
Copied: ocaml-yojson/repos/community-x86_64/PKGBUILD (from rev 501473, ocaml-yojson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-24 12:36:16 UTC (rev 501474)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=yojson
+pkgname=ocaml-${_pkgname}
+pkgver=1.4.1
+pkgrel=6
+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"
+ '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
+}
+
+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