Update package version to 5.3.2

This commit is contained in:
2025-09-08 21:21:13 +03:00
parent 0262b14068
commit 17327f019c
3 changed files with 13 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
URL="ftp://ftp.gnu.org/gnu/gawk/"
# Get version number from FTP server
VERSION=$(curl -s --list-only "$URL" | grep -E '^gawk-[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"
+1 -2
View File
@@ -1,7 +1,6 @@
name: gawk
description: GNU awk
version: 5.3.0
revision: 3
version: 5.3.2
url: https://www.gnu.org/software/gawk/
license: GPL
architecture: any
+1 -1
View File
@@ -2,7 +2,7 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://ftp.gnu.org/gnu/gawk/gawk-${BPM_PKG_VERSION}.tar.xz"
DOWNLOAD="https://ftpmirror.gnu.org/gnu/gawk/gawk-${BPM_PKG_VERSION}.tar.xz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory