void-packages/srcpkgs/opam/template
2019-04-06 19:12:21 +02:00

23 lines
689 B
Bash

# Template file for 'opam'
pkgname=opam
version=2.0.4
revision=1
build_style=gnu-configure
disable_parallel_build=yes
configure_args="--docdir=/usr/share/doc/${pkgname}"
make_build_args="lib-ext all"
make_check_target="tests"
makedepends="curl ncurses-devel ocaml ocaml-findlib"
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=956746e4556bfb40ea8e4f05ba5d61f44ed7e03bffddcaf567328290ba52a93c
nocross=yes
post_install() {
rm -rf ${DESTDIR}/usr/doc
}