From 5dcc3243fb645fd13f8b2d6db4bb2381adbf4040 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 6 Oct 2022 16:00:40 +0200 Subject: community/ruby-rake-compiler: bootstrapping --- community/ruby-rake-compiler/PKGBUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 community/ruby-rake-compiler/PKGBUILD (limited to 'community') diff --git a/community/ruby-rake-compiler/PKGBUILD b/community/ruby-rake-compiler/PKGBUILD new file mode 100644 index 00000000..1cd5ffb6 --- /dev/null +++ b/community/ruby-rake-compiler/PKGBUILD @@ -0,0 +1,14 @@ +# bootstrapping with ruby-bootstrap in /opt/ruby-xxx +depends=(ruby-bootstrap) + +# no documentation during bootstrapping +makedepends=(${makedepends[@]//ruby-rdoc/}) + +# install to final destination in /usr and not into /opt/ruby-xxx +eval "$( + declare -f package | \ + sed ' + s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + ' +)" + -- cgit v1.2.3-70-g09d2