testing/ocaml-biniou: upgrade to 1.2.1

This commit is contained in:
Leo 2019-08-25 00:26:46 -03:00
parent 7f5d4bc3b9
commit 8dcae7f2b3

View File

@ -2,10 +2,10 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ocaml-biniou
_pkgname=biniou
pkgver=1.2.0
pkgrel=2
pkgver=1.2.1
pkgrel=0
pkgdesc="Extensible binary data format, like JSON but faster"
url="https://github.com/mjambon/biniou"
url="https://github.com/ocaml-community/biniou"
arch="all !x86 !armhf !armv7 !s390x" # limited by ocaml aport
license="BSD-3-Clause"
depends="ocaml-runtime ocaml-easy-format"
@ -13,6 +13,7 @@ depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-easy-format-dev ocaml-findlib opam"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/mjambon/$_pkgname/archive/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml-community/biniou/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@ -26,8 +27,9 @@ check() {
package() {
mkdir -p "$pkgdir"/usr/lib/ocaml
jbuilder install \
--destdir="$pkgdir"/usr \
--libdir="$pkgdir"/usr/lib/ocaml
--destdir="$pkgdir" \
--prefix=/usr \
--libdir=/usr/lib/ocaml
# There's just a readme and changelog.
rm -Rf "$pkgdir"/usr/doc
@ -49,4 +51,4 @@ dev() {
mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/
}
sha512sums="04c04c2dd5e3e1237106db257567ba6900bd94759b07b02ba2e0d9209d1bbdc9ed629864e06d44a8b61f72d46fbcc7a0ffc86f82feb223d9d99ca41afc625fab ocaml-biniou-1.2.0.tar.gz"
sha512sums="f0166666559f3a767fdc6987bad45ec4a772b70b8880b6d769ef644c9bfd46962f089c7b5dfff368413015e765daf4bacffe253bdb3478d9a4d30a15f0d29589 ocaml-biniou-1.2.1.tar.gz"