From 4d7a8daf7e0df307afbb9abe9860d62a25a7f3d2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 8 Oct 2022 14:45:29 +0200 Subject: build-support/ruby-rake-compiler-bootstrap: fixes --- build-support/ruby-rake-compiler-bootstrap/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build-support') diff --git a/build-support/ruby-rake-compiler-bootstrap/PKGBUILD b/build-support/ruby-rake-compiler-bootstrap/PKGBUILD index af7a1e9e..0b69a084 100644 --- a/build-support/ruby-rake-compiler-bootstrap/PKGBUILD +++ b/build-support/ruby-rake-compiler-bootstrap/PKGBUILD @@ -43,12 +43,15 @@ package() { # building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr # and depend on 'ruby' makedepends+=(ruby-bootstrap) +depends=() # install to bootstrap locatio /opt/ruby-xxx eval "$( declare -f package | \ sed ' - /_gemdir/ a mkdir -p "${pkgdir}"/opt/ruby-bootstrap-3.0.4/bin + /local _gemdir/ a mkdir -p "${pkgdir}"/opt/ruby-bootstrap-3.0.4/bin + /local _gemdir/ i export PATH="/opt/ruby-bootstrap-3.0.4/bin:${PATH}" + s|-n "${pkgdir}/usr/bin"|-n "$pkgdir/opt/ruby-bootstrap-3.0.4/bin"| ' )" -- cgit v1.2.3-54-g00ecf