Update package version to 4.0.0
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user