From 4f2de24259f145025cca495f9b255ea8da34eaa2 Mon Sep 17 00:00:00 2001
From: rubicon <5662-rubicon@users.gitlab.alpinelinux.org>
Date: Fri, 13 May 2022 18:08:41 +0800
Subject: [PATCH] testing/ocaml-labltk: move back from unmaintained

---
 {unmaintained => testing}/ocaml-labltk/APKBUILD | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
 rename {unmaintained => testing}/ocaml-labltk/APKBUILD (73%)

diff --git a/unmaintained/ocaml-labltk/APKBUILD b/testing/ocaml-labltk/APKBUILD
similarity index 73%
rename from unmaintained/ocaml-labltk/APKBUILD
rename to testing/ocaml-labltk/APKBUILD
index 5add49ce0a73..45fd9ae7237c 100644
--- a/unmaintained/ocaml-labltk/APKBUILD
+++ b/testing/ocaml-labltk/APKBUILD
@@ -2,20 +2,19 @@
 # Maintainer:
 pkgname=ocaml-labltk
 _pkgname=labltk
-pkgver=8.06.5
-_pkgkey=1764	# it changes with version update
-pkgrel=1
-_ocamlver=4.07.1
+pkgver=8.06.12
+pkgrel=0
+_ocamlver=4.14.0
 pkgdesc="Tcl/Tk interface for OCaml"
-url="http://labltk.forge.ocamlcore.org/"
-arch="aarch64 ppc64le x86_64"  # limited by ocaml aport
+url="https://garrigue.github.io/labltk/"
+arch="all !riscv64"  # limited by ocaml aport
 license="LGPL-2.0-or-later-WITH-linking-exception"
 depends="ocaml-runtime"
 depends_dev="$pkgname=$pkgver-r$pkgrel"
 makedepends="ocaml=~$_ocamlver ocaml-compiler-libs=~$_ocamlver tcl-dev tk tk-dev"
 options="!check"  # no tests provided
 subpackages="$pkgname-dev"
-source="https://forge.ocamlcore.org/frs/download.php/$_pkgkey/$_pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/garrigue/labltk/archive/refs/tags/$pkgver.tar.gz"
 builddir="$srcdir/$_pkgname-$pkgver"
 
 build() {
@@ -56,4 +55,6 @@ dev() {
 	mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/
 }
 
-sha512sums="8a6bfefd1ba8ef1fb54c284a06067007dd48833a475e24c787c0c2100a30a5ab018606ca3e79fd0fa323b6759de0ae3c7e6ef881e662bf1d7f84e920c7bebe7a  labltk-8.06.5.tar.gz"
+sha512sums="
+e1564ab2d8922276bd8ad586b37308d60ca2dd563bac3cdd992d8a6ba4de26e5499350a62a1d4cb2bbb9a5b7aff609b5187aad5fba118eb55d1b4c8355d2979a  ocaml-labltk-8.06.12.tar.gz
+"
-- 
GitLab