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
+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
}