void-packages/srcpkgs/dune/template

23 lines
588 B
Bash
Raw Normal View History

2021-10-20 12:15:40 +00:00
# Template file for 'dune'
pkgname=dune
version=2.9.1
revision=1
build_style=gnu-makefile
make_build_target="release"
makedepends="ocaml"
depends="ocaml"
short_desc="Composable build system for OCaml"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://dune.build/"
distfiles="https://github.com/ocaml/dune/archive/refs/tags/${version}.tar.gz"
checksum=493f8c95697620b1e84278dcf9b4466f63f0858b227417e87ec75d102af620c4
nocross="ocaml"
post_install() {
vmkdir usr/share
mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
rm -r ${DESTDIR}/usr/doc
vlicense LICENSE.md
}