Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/ruby-drb/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 19:28:19 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 19:28:19 +0200
commitbba19f56c494bc5331b91e89799b1d26bed51458 (patch)
tree6261e0c4940746f1e0b38d51f18b790cd9beece3 /community/ruby-drb/PKGBUILD
parent1dcfa63b6b0c59f3b2286f185e8849c07b888462 (diff)
community/ruby-drb: bootstrapping
Diffstat (limited to 'community/ruby-drb/PKGBUILD')
-rw-r--r--community/ruby-drb/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ruby-drb/PKGBUILD b/community/ruby-drb/PKGBUILD
new file mode 100644
index 00000000..64157bbd
--- /dev/null
+++ b/community/ruby-drb/PKGBUILD
@@ -0,0 +1,11 @@
+# bootstrapping with ruby-bootstrap in /opt/ruby-xxx
+depends=('ruby-bootstrap' 'ruby-ruby2_keywords')
+
+# install to final destination in /usr and not into /opt/ruby-xxx
+eval "$(
+ declare -f package | \
+ sed '
+ s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g
+ '
+)"
+