ocaml-num: fix xlint errors and license type

Signed-off-by: Sora Morimoto <sora@morimoto.io>
This commit is contained in:
Sora Morimoto 2020-11-19 13:23:31 +09:00 committed by Érico Nogueira Rolim
parent a559287923
commit e8ae1eb1cc
1 changed files with 4 additions and 3 deletions

View File

@ -2,22 +2,23 @@
pkgname=ocaml-num
version=1.4
revision=1
wrksrc="num-${version}"
build_style=gnu-makefile
makedepends="ocaml ocaml-findlib"
make_install_target="findlib-install"
makedepends="ocaml ocaml-findlib"
short_desc="OCaml legacy Num library for arbitrary-precision integers"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1"
license="custom: LGPL-2.1-only with OCaml-LGPL-linking-exception"
homepage="https://github.com/ocaml/num"
distfiles="https://github.com/ocaml/num/archive/v${version}.tar.gz"
checksum=015088b68e717b04c07997920e33c53219711dfaf36d1196d02313f48ea00f24
wrksrc="num-${version}"
nocross=yes
pre_install() {
export OCAMLFIND_DESTDIR=${DESTDIR}/usr/lib/ocaml
vmkdir /usr/lib/ocaml/stublibs
}
post_install() {
vlicense LICENSE
}