weechat: rebuild for ruby-3.0.2.

This commit is contained in:
Leah Neukirchen 2021-07-14 20:42:32 +02:00
parent a6e5d9284e
commit 7d0e28c46a
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'weechat'
pkgname=weechat
version=3.2
revision=2
revision=3
build_style=cmake
configure_args="-DENABLE_MAN=ON -DENABLE_PERL=ON
-DENABLE_LUA=ON -DENABLE_RUBY=ON -DENABLE_SPELL=ON
@ -32,6 +32,10 @@ if [ "$CROSS_BUILD" ]; then
-DPERL_LFLAGS=-L$_perlpath"
fi
post_extract() {
vsed -i '/pkg_search_module/s/ruby-2.7/ruby-3.0 &/' cmake/FindRuby.cmake
}
weechat-aspell_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"