index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | community/rubygems/PKGBUILD | 13 |
diff --git a/community/rubygems/PKGBUILD b/community/rubygems/PKGBUILD new file mode 100644 index 00000000..e4a5d80a --- /dev/null +++ b/community/rubygems/PKGBUILD @@ -0,0 +1,13 @@ +# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr +# and depend on 'ruby' +makedepends=(ruby-bootstrap) + +# 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 + ' +)" + +unset check |