25 lines
819 B
Bash
25 lines
819 B
Bash
# Template file for 'opam'
|
|
pkgname=opam
|
|
version=2.4.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--docdir=/usr/share/doc/${pkgname} --with-vendored-deps --with-mccs"
|
|
make_build_args="all"
|
|
make_check_target="tests"
|
|
depends="bubblewrap curl unzip tar"
|
|
makedepends="${depends} ncurses-devel ocaml ocaml-findlib"
|
|
checkdepends="${depends} git rsync"
|
|
short_desc="OCaml package manager"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
|
|
homepage="https://opam.ocaml.org/"
|
|
distfiles="https://github.com/ocaml/opam/releases/download/${version}/opam-full-${version}.tar.gz"
|
|
checksum=c4d053029793c714e4e7340b1157428c0f90783585fb17f35158247a640467d9
|
|
nocross=yes
|
|
disable_parallel_build=yes
|
|
make_check=ci-skip # uses bwrap
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/doc
|
|
}
|