Skip to content

Commit

Permalink
community/opam: upgrade to 2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
omni authored and maxice8 committed Feb 14, 2021
1 parent 2ed9c50 commit 8e6bfd3
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions community/opam/APKBUILD
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# Contributor: Michael Zuo <muh.muhten@gmail.com>
# Contributor: Sora Morimoto <sora@morimoto.io>
# Contributor: Anil Madhavapeddy <anil@recoil.org>
# Contributor: omni <omni@gitlab.alpinelinux.org>
# Maintainer:
pkgname=opam
pkgver=2.0.7
pkgrel=2
pkgver=2.0.8
pkgrel=0
pkgdesc="OCaml Package Manager"
url="https://opam.ocaml.org"
arch="all !x86 !armhf !armv7 !mips !mips64" # ocaml not avail on excluded platforms
license="LGPL-2.1"
depends="ocaml curl tar unzip rsync patch bubblewrap bash"
makedepends="ocaml-compiler-libs"
source="https://github.com/ocaml/opam/releases/download/$pkgver/opam-full-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-full-$pkgver"
depends="curl patch unzip"
makedepends="tar ocaml-compiler-libs"
checkdepends="rsync"
source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml/opam/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
Expand All @@ -29,12 +30,13 @@ build() {
make -j1 all
}

package() {
make DESTDIR="$pkgdir" install
}

check() {
make tests
}

sha512sums="670af4935bba0679c65f6592b7a52b1d429b604eb261e40b13cf72312aeb0bab0c5a76829a555fc5379a0371c352692cbabc46b460fcd9bf32b3cfebdaeceb81 opam-full-2.0.7.tar.gz"
package() {
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}

sha512sums="14737dc994be2c54dfeaf2658d3713178033e1bc2b4b845a58b4bfc118bbbf12b502924add0ae32b4b2b6c1944462e5ee7143df3de362d9ee39573249d013bc9 opam-2.0.8.tar.gz"

0 comments on commit 8e6bfd3

Please sign in to comment.