diff --git a/pkg.info b/pkg.info index bceaee9..d3ec78f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,30 @@ name: ruby description: A dynamic, open source programming language with a focus on simplicity and productivity -version: 3.4.6 +version: 3.4.7 +revision: 1 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: ["doxygen","graphviz","rustc", "procps-ng"] type: source +depends: + - gcc-libs + - gdbm + - glibc + - gmp + - libffi + - libxcrypt + - libyaml + - openssl + - readline + - valgrind + - zlib +make_depends: + - doxygen + - graphviz + - rustc + - procps-ng +downloads: + - url: https://cache.ruby-lang.org/pub/ruby/${BPM_PKG_VERSION%.*}/ruby-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: db425a86f6e07546957578f4946cc700a91e7fd51115a86c56e096f30e0530c7 diff --git a/source.sh b/source.sh index 68a29c5..7c976a6 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # 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://cache.ruby-lang.org/pub/ruby/${BPM_PKG_VERSION%.*}/ruby-${BPM_PKG_VERSION}.tar.xz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {