diff --git a/testing/ocaml-sha/APKBUILD b/testing/ocaml-sha/APKBUILD index bf5ae11a6ae87b3bce4eddb81a76afd642bf6566..32a5c361e40450a20e5414900d750b29316dc26e 100644 --- a/testing/ocaml-sha/APKBUILD +++ b/testing/ocaml-sha/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Andy Li <andy@onthewings.net> pkgname=ocaml-sha _pkgname=sha -pkgver=1.15.2 -pkgrel=3 +pkgver=1.15.4 +pkgrel=0 pkgdesc="Binding to the SHA cryptographic functions" url="https://github.com/djs55/ocaml-sha" arch="all !riscv64" # limited by ocaml aport @@ -11,7 +11,8 @@ license="ISC" depends_dev="$pkgname=$pkgver-r$pkgrel" makedepends="dune ocaml ocaml-findlib ocaml-ounit-dev ocaml-stdlib-shims ocaml-seq-dev" subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/djs55/ocaml-sha/archive/$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.bz2::https://github.com/djs55/ocaml-sha/releases/download/v$pkgver/sha-$pkgver.tbz" +builddir="$srcdir/$_pkgname-$pkgver" # 32-bit archs case "$CARCH" in @@ -24,7 +25,7 @@ build() { } check() { - dune runtest --verbose + dune runtest --build-dir=.testenv --verbose } package() { @@ -75,5 +76,5 @@ scan_python3_dependency() { } sha512sums=" -7ea47377747ef4c36791c4ed9ff88fe138ee14d012cc3f7b41fcc28776e57ea54c5ee5cc033adc6288177ed834afb73c44e60cfff01f1be28492a992f97a1d06 ocaml-sha-1.15.2.tar.gz +dbb31b523ba0bace023bc1b0558a8f572a0ec20fb3f19f783935be755cd161e09aba352eda2bcf7c4e5ab838c7f874cfbfaed9debf0813df25d9dbe7b9314fdf ocaml-sha-1.15.4.tar.bz2 "