Update package version to 5.3
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
URL="https://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||||
|
|
||||||
|
# Get version number from tag name
|
||||||
|
VERSION=$(curl -s -L "$URL" | grep -A1 'The current version of bash is ' | grep -o -E '([0-9]\.[0-9]*)')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
name: bash
|
name: bash
|
||||||
description: The Bourne-Again Shell
|
description: The Bourne-Again Shell
|
||||||
version: 5.2.37
|
version: 5.3
|
||||||
revision: 4
|
|
||||||
url: https://www.gnu.org/software/bash/
|
url: https://www.gnu.org/software/bash/
|
||||||
license: GPL3-or-later
|
license: GPL3-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
export CFLAGS="${CLFAGS} -std=gnu17"
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--without-bash-malloc \
|
--without-bash-malloc \
|
||||||
--with-installed-readline \
|
--with-installed-readline \
|
||||||
|
|||||||
Reference in New Issue
Block a user