Update package version to 2.46.0
This commit is contained in:
+7
-1
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
- [email protected]
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user