Update package version to 4.0.0

This commit is contained in:
2025-12-28 12:20:35 +02:00
parent c860843f60
commit 5466d539e2
2 changed files with 22 additions and 6 deletions
+10 -2
View File
@@ -1,6 +1,6 @@
name: ruby
description: A dynamic, open source programming language with a focus on simplicity and productivity
version: 3.4.8
version: 4.0.0
revision: 1
url: https://www.ruby-lang.org/en/
license: BSD-2-Clause
@@ -27,4 +27,12 @@ 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: 53a8ec71111449cbbd42224d8d27c493fa6ded228636731051c48604d4255d68
checksum: a72bacee9de07283ebc19baa4ac243b193129f21aa4e168c7186fb1fe7d07fe1
split_packages:
- name: ruby
optional_depends:
- ruby-docs
- name: ruby-docs
description: A dynamic, open source programming language with a focus on simplicity and productivity - Documentation
depends:
- ruby
+12 -4
View File
@@ -24,9 +24,17 @@ check() {
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
package_ruby() {
make DESTDIR="$BPM_OUTPUT" install-nodoc
install -Dm644 "$BPM_SOURCE"/BSDL "$BPM_OUTPUT"/usr/share/licenses/ruby/BSDL
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/ruby/COPYING
# Install package license
install -Dm644 "$BPM_SOURCE"/{BSDL,COPYING} -t "$BPM_OUTPUT"/usr/share/licenses/ruby/
}
package_ruby-docs() {
make DESTDIR="$BPM_OUTPUT" install-doc install-capi
# Install package license
install -d "$BPM_OUTPUT"/usr/share/licenses
ln -sf ruby "$BPM_OUTPUT"/usr/share/licenses/ruby-docs
}