2025-01-08 16:57:36 +01:00

25 lines
798 B
Bash

# Template file for 'opam'
pkgname=opam
version=2.3.0
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"
makedepends="curl ncurses-devel ocaml ocaml-findlib tar"
depends="bubblewrap curl patch unzip"
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/archive/refs/tags/${version}.tar.gz"
checksum=ee3e3c93c4420bd3e3be82dd0da40d7f3f82eaff5000d20fb1b00f1cd050a99a
nocross=yes
disable_parallel_build=yes
make_check=ci-skip # uses bwrap
post_install() {
rm -rf ${DESTDIR}/usr/doc
}