Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/ruby-rake-compiler/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 17:03:05 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 17:03:05 +0200
commitc130435061123f8f57d0a9538f40a68808518478 (patch)
tree65109155ed0a69dc93a57af6f20900e603a4d42e /community/ruby-rake-compiler/PKGBUILD
parent253bbca8993ae941a3aab99da8ed51fee9777192 (diff)
community/ruby-rake-compiler: building for ruby-bootstrap into /opt first
Diffstat (limited to 'community/ruby-rake-compiler/PKGBUILD')
-rw-r--r--community/ruby-rake-compiler/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/ruby-rake-compiler/PKGBUILD b/community/ruby-rake-compiler/PKGBUILD
index 04101c7e..6e572d80 100644
--- a/community/ruby-rake-compiler/PKGBUILD
+++ b/community/ruby-rake-compiler/PKGBUILD
@@ -3,3 +3,11 @@ depends=(ruby-bootstrap)
# no documentation during bootstrapping
makedepends=(${makedepends[@]//ruby-rdoc/})
+
+# create /opt/ruby-xxx/bin
+eval "$(
+ declare -f package | \
+ sed '
+ /_gemdir/ a mkdir -p "${pkgdir}"/usr/bin
+ '
+)"