Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/ruby-rake
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 16:57:12 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 16:57:12 +0200
commit253bbca8993ae941a3aab99da8ed51fee9777192 (patch)
treec66035be1eeaf54c9f4df076cfe8729242e93e8c /community/ruby-rake
parentb528897482dfdef44dd68d098b7e78b1450a934c (diff)
community/ruby-rake: building for ruby-bootstrap into /opt first
Diffstat (limited to 'community/ruby-rake')
-rw-r--r--community/ruby-rake/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/ruby-rake/PKGBUILD b/community/ruby-rake/PKGBUILD
index 90a27a2a..961dcd18 100644
--- a/community/ruby-rake/PKGBUILD
+++ b/community/ruby-rake/PKGBUILD
@@ -1,3 +1,12 @@
# bootstrapping with ruby-bootstrap in /opt/ruby-xxx
depends=(${depends[@]//ruby/})
depends+='ruby-bootstrap'
+
+# create /opt/ruby-xxx/bin
+eval "$(
+ declare -f package | \
+ sed '
+ /_gemdir/ a mkdir -p "${pkgdir}"/usr/bin
+ '
+)"
+