diff --git a/srcpkgs/weechat/template b/srcpkgs/weechat/template index 8b8c10ae953..b102b535dae 100644 --- a/srcpkgs/weechat/template +++ b/srcpkgs/weechat/template @@ -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}"