diff --git a/srcpkgs/ocaml-stdcompat/template b/srcpkgs/ocaml-stdcompat/template new file mode 100644 index 00000000000..b4b5128264c --- /dev/null +++ b/srcpkgs/ocaml-stdcompat/template @@ -0,0 +1,20 @@ +# Template file for 'ocaml-stdcompat' +pkgname=ocaml-stdcompat +version=15 +revision=1 +wrksrc="stdcompat-${version}" +build_style=gnu-configure +configure_args="--libdir=/usr/lib/ocaml" +makedepends="ocaml ocaml-findlib" +short_desc="Compatibility module for OCaml standard library" +maintainer="Leah Neukirchen " +license="BSD-2-Clause" +homepage="https://github.com/thierry-martinez/stdcompat" +distfiles="https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz" +checksum=5e746f68ffe451e7dabe9d961efeef36516b451f35a96e174b8f929a44599cf5 +nocross=yes +disable_parallel_build=yes + +post_install() { + vlicense COPYING LICENSE +} diff --git a/srcpkgs/ocaml-stdcompat/update b/srcpkgs/ocaml-stdcompat/update new file mode 100644 index 00000000000..2c4c1498b41 --- /dev/null +++ b/srcpkgs/ocaml-stdcompat/update @@ -0,0 +1 @@ +pkgname=stdcompat