Update package version to 3.4.6
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
URL="https://www.ruby-lang.org/en/downloads/"
|
||||
|
||||
# Get version number from tag name
|
||||
VERSION=$(curl -s -L "$URL" | grep -A1 'The current stable version is ' | grep -o -E '[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?')
|
||||
|
||||
echo "$VERSION"
|
||||
@@ -1,10 +1,9 @@
|
||||
name: ruby
|
||||
description: A dynamic, open source programming language with a focus on simplicity and productivity
|
||||
version: 3.4.2
|
||||
revision: 2
|
||||
version: 3.4.6
|
||||
url: https://www.ruby-lang.org/en/
|
||||
license: BSD-2-Clause
|
||||
architecture: any
|
||||
depends: ["gcc-libs", "gdbm", "glibc", "gmp", "libffi", "libxcrypt", "libyaml", "openssl", "readline", "valgrind", "zlib"]
|
||||
make_depends: ["rustc", "procps-ng"]
|
||||
make_depends: ["doxygen","graphviz","rustc", "procps-ng"]
|
||||
type: source
|
||||
|
||||
@@ -27,6 +27,8 @@ build() {
|
||||
# The check function is executed in the source directory
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
check() {
|
||||
# One test fails without resetting the HOME env variable
|
||||
export HOME=$(getent passwd "$USER" | cut -d':' -f6)
|
||||
make check
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user