From 1a6749e037ae9c710f919872451a660c27682f16 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 7 Oct 2022 17:38:51 +0200 Subject: community/ruby-rake-*: wrong patching --- community/ruby-rake-compiler/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'community/ruby-rake-compiler/PKGBUILD') diff --git a/community/ruby-rake-compiler/PKGBUILD b/community/ruby-rake-compiler/PKGBUILD index 6cae4819..be4040c4 100644 --- a/community/ruby-rake-compiler/PKGBUILD +++ b/community/ruby-rake-compiler/PKGBUILD @@ -4,3 +4,12 @@ makedepends=(ruby-bootstrap) # no documentation during bootstrapping makedepends=(${makedepends[@]//ruby-rdoc/}) + +# create /opt/ruby-xxx/bin +# install to final destination in /usr and not into /opt/ruby-xxx +eval "$( + declare -f package | \ + sed ' + /_gemdir/ a mkdir -p "${pkgdir}"/usr/bin + ' +)" -- cgit v1.2.3-70-g09d2