23 lines
704 B
Bash
23 lines
704 B
Bash
# Template file for 'opam'
|
|
pkgname=opam
|
|
version=2.1.1
|
|
revision=1
|
|
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="bubblewrap 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=196d81e644e35e7f2fee54aa5de4fc91c374208bc441294b6047731ac8534126
|
|
nocross=yes
|
|
disable_parallel_build=yes
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/doc
|
|
}
|