From 57fa358891b0a42208b32281ec67bd832fb33c98 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 10 Oct 2022 20:08:07 +0200 Subject: community/ruby: reenabled ruby and patched for installing in proper native libary paths --- community/ruby-racc/PKGBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'community/ruby-racc') diff --git a/community/ruby-racc/PKGBUILD b/community/ruby-racc/PKGBUILD index 472071e2..40c4a4e2 100644 --- a/community/ruby-racc/PKGBUILD +++ b/community/ruby-racc/PKGBUILD @@ -14,4 +14,11 @@ eval "$( ' )" -unset check +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" -- cgit v1.2.3-70-g09d2