ocaml-zarith: update to 1.13.

This commit is contained in:
Leah Neukirchen 2022-12-21 22:18:59 +01:00
parent 000bcb174f
commit 51a3680c8e

View file

@ -1,7 +1,7 @@
# Template file for 'ocaml-zarith'
pkgname=ocaml-zarith
version=1.12
revision=4
version=1.13
revision=1
build_style=configure
make_check_target="tests"
hostmakedepends="perl"
@ -12,13 +12,16 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.0-only,OCaml-LGPL-linking-exception"
homepage="https://github.com/ocaml/zarith"
distfiles="https://github.com/ocaml/zarith/archive/release-${version}.tar.gz"
checksum=cc32563c3845c86d0f609c86d83bf8607ef12354863d31d3bffc0dacf1ed2881
checksum=a5826d33fea0103ad6e66f92583d8e075fb77976de893ffdd73ada0409b3f83b
nocross=yes
disable_parallel_build=yes
post_configure() {
sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile
}
pre_install() {
mkdir -p ${DESTDIR}/usr/lib/ocaml/stublibs
}
post_install() {
vcopy META usr/lib/ocaml/zarith
}