From b6e815c62ad97529799376797ae76c430476eca5 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 13 Feb 2026 18:45:21 +0200 Subject: [PATCH] Update package version to 2.46.0 --- check-version.sh | 8 +++++++- pkg.info | 8 +++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/check-version.sh b/check-version.sh index ddbfa60..5e28b96 100644 --- a/check-version.sh +++ b/check-version.sh @@ -3,6 +3,12 @@ URL="https://www.gnu.org/software/binutils/" # Get version number -VERSION=$(curl -s -L "$URL" | grep 'The latest release of GNU binutils is ' | grep -o -E '[0-9]{1,}.[0-9]{1,}(\.[0-9]{1,}|)') +VERSION=$(curl -s -L "$URL" | grep 'The latest release of GNU binutils is ' | grep -o -E '[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?') + +# Append '.0' if patch number is missing +DOT_COUNT=`tr -dc '.' <<< "$VERSION" | awk '{ print length; }'` +if [ $DOT_COUNT -eq 1 ]; then + VERSION="${VERSION}.0" +fi echo "$VERSION" diff --git a/pkg.info b/pkg.info index 6ed872c..d778a8f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,11 @@ name: binutils description: The GNU Binutils are a collection of binary tools -version: 2.45.1 -revision: 2 +version: 2.46.0 +revision: 1 url: https://www.gnu.org/software/binutils/ license: GPL3-or-later +maintainers: + - enumdev@enumerated.dev architecture: any type: source depends: @@ -19,4 +21,4 @@ downloads: - url: https://sourceware.org/pub/binutils/releases/binutils-${BPM_PKG_VERSION}.tar.xz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 5fe101e6fe9d18fdec95962d81ed670fdee5f37e3f48f0bef87bddf862513aa5 + checksum: d75a94f4d73e7a4086f7513e67e439e8fcdcbb726ffe63f4661744e6256b2cf2