ruby: don't install bin/*.lock files.

This commit is contained in:
Leah Neukirchen 2024-09-16 14:44:59 +02:00
parent ae641e8560
commit 4b114f5acd
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ _ruby_abiver=3.3.0
pkgname=ruby
version=3.3.5
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-shared --disable-rpath
PKG_CONFIG=/usr/bin/pkg-config"
@ -87,6 +87,8 @@ post_install() {
# Replace reference to the install(1) wrapper
vsed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i \
${DESTDIR}/usr/lib/ruby/${_ruby_abiver}/*/rbconfig.rb
# https://bugs.ruby-lang.org/issues/20721 remove with 3.3.6
rm -f ${DESTDIR}/usr/bin/*.lock
vlicense COPYING
}