community/opam: upgrade to 2.2.0

This commit is contained in:
Kate 2024-07-02 17:42:52 +01:00 committed by Kevin Daudt
parent 64d5c17cc4
commit ee086520fc

View File

@ -4,7 +4,7 @@
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: Kate <kit.ty.kate@disroot.org>
pkgname=opam
pkgver=2.1.6
pkgver=2.2.0
pkgrel=0
pkgdesc="OCaml Package Manager"
url="https://opam.ocaml.org"
@ -14,7 +14,7 @@ depends="curl patch unzip coreutils bubblewrap"
options="!check" # The tests use bubblewrap which cannot be run inside docker
makedepends="dune tar ocaml-compiler-libs"
checkdepends="rsync bash diffutils"
source="https://github.com/ocaml/opam/releases/download/$pkgver/opam-full-$pkgver.tar.gz"
source="https://github.com/ocaml/opam/releases/download/$pkgver/opam-full-$pkgver-1.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir/opam-full-$pkgver"
@ -33,9 +33,11 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-mccs
--with-mccs \
--with-vendored-deps \
--with-dune=/usr/bin/dune
make -j1 DUNE=/usr/bin/dune lib-ext all
make -j1 all
}
check() {
@ -48,5 +50,5 @@ package() {
}
sha512sums="
2bb24db05dc39d6e8294c10b5a6bb2dd8f675a4d56e1dc9a2e9bc576f54d14a1709005219c25586df9382897ab7ba5ea0636765410f01c06958ec59be9f14b4c opam-full-2.1.6.tar.gz
2abc4036314b029b92f59d8850d64a15404cb3184acd81bb429820cc5ba79793ad8a183f0cfd37e61494be04713994aa9374b5c61ccdfe7dc44f26eabfdd2e7a opam-full-2.2.0-1.tar.gz
"