void-packages/srcpkgs/opam/template
2020-04-06 13:40:59 +02:00

23 lines
693 B
Bash

# Template file for 'opam'
pkgname=opam
version=2.0.6
revision=2
build_style=gnu-configure
configure_args="--docdir=/usr/share/doc/${pkgname}"
make_build_args="lib-ext all"
make_check_target="tests"
makedepends="curl ncurses-devel ocaml ocaml-findlib tar"
depends="curl patch unzip"
checkdepends="${depends} git rsync"
short_desc="OCaml package manager"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-3.0-only"
homepage="http://opam.ocamlpro.com"
distfiles="https://github.com/ocaml/${pkgname}/archive/${version}.tar.gz"
checksum=bfe9b8487b1ffb61aea7e9e6f415c854b3dfbe552a653a554e0362ec36230758
nocross=yes
disable_parallel_build=yes
post_install() {
rm -rf ${DESTDIR}/usr/doc
}