index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-10-08 14:38:38 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-10-08 14:38:38 +0200 |
commit | 36afc61a4e6dd29042f09409b8a9382c45da2c86 (patch) | |
tree | 144765a32c35ba19a16d72176aabf461486cfd43 /build-support/ruby-rake-bootstrap | |
parent | 411f9c979dbea7778cddfbf81e204b8628f07e39 (diff) |
-rw-r--r-- | build-support/ruby-rake-bootstrap/PKGBUILD | 5 |
diff --git a/build-support/ruby-rake-bootstrap/PKGBUILD b/build-support/ruby-rake-bootstrap/PKGBUILD index ab695547..e8db910a 100644 --- a/build-support/ruby-rake-bootstrap/PKGBUILD +++ b/build-support/ruby-rake-bootstrap/PKGBUILD @@ -24,12 +24,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"| ' )" |