From 6182e7af4cde97cbf8a0f242a29382c7055f7c63 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 7 Oct 2022 20:37:59 +0200 Subject: another ruby-rake thing --- community/ruby-rake-compiler/PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'community/ruby-rake-compiler/PKGBUILD') diff --git a/community/ruby-rake-compiler/PKGBUILD b/community/ruby-rake-compiler/PKGBUILD index c24ebfd2..019e82a9 100644 --- a/community/ruby-rake-compiler/PKGBUILD +++ b/community/ruby-rake-compiler/PKGBUILD @@ -1,12 +1,11 @@ # no documentation during bootstrapping makedepends=(${makedepends[@]//ruby-rdoc/}) -makedepends+=(ruby-bootstrap) - # install to final destination in /usr and not into /opt/ruby-xxx eval "$( declare -f package | \ sed ' - /_gemdir/ a mkdir -p "${pkgdir}"/opt/"${pkgname}-${pkgver}" + s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + /_gemdir/ a mkdir -p "${pkgdir}"/usr/bin/ ' )" -- cgit v1.2.3-70-g09d2