From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/ruby-racc/PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 extra/ruby-racc/PKGBUILD (limited to 'extra/ruby-racc') diff --git a/extra/ruby-racc/PKGBUILD b/extra/ruby-racc/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-racc/PKGBUILD @@ -0,0 +1,8 @@ +# 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