testing/ocaml-easy-format: rebuild against new ocaml

Closes: GH-8153
This commit is contained in:
Leo 2019-05-26 16:37:22 -03:00 committed by TBK
parent 0ed9acc50c
commit 08e58613bb
No known key found for this signature in database
GPG Key ID: 5FFB25718720C7D7

View File

@ -3,7 +3,7 @@
pkgname=ocaml-easy-format
_pkgname=easy-format
pkgver=1.3.1
pkgrel=1
pkgrel=2
pkgdesc="Pretty-printing library for OCaml"
url="https://mjambon.github.io/mjambon2016/easy-format.html"
arch="all !x86 !armhf !armv7 !s390x" # limited by ocaml aport
@ -16,18 +16,14 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/mjambon/$_pkgname/archive/v$
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
jbuilder build @install
}
check() {
cd "$builddir"
jbuilder runtest
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/lib/ocaml
jbuilder install \
--destdir="$pkgdir"/usr \