From f36b7a89addd7bae0c23bfcec8e145da04922374 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 17 Sep 2025 17:11:14 +0300 Subject: [PATCH] Update package version to 2.3.8 --- check-version.sh | 11 +++++++++++ pkg.info | 3 +-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..38ddd48 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +URL="ftp://ftp.gnu.org/gnu/libidn/" + +# Get version number from FTP server +VERSION=$(curl -s --list-only "$URL" | grep -E '^libidn2-[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?.tar.gz$' | cut -d '-' -f2 | sort -V | tail -n1) + +# Remove '.tar.gz' suffix from VERSION variable +VERSION=${VERSION//.tar.gz/} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 83263aa..cebd7e0 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,6 @@ name: libidn2 description: An implementation of the IDNA2008 + TR46 specifications -version: 2.3.7 -revision: 3 +version: 2.3.8 url: https://www.gnu.org/software/libidn/ license: GPL2,LGPL3 architecture: any