Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 19:33:44 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 19:33:44 +0200
commit9eab0dfd71acf3a4b16cc35643977f0b176214f1 (patch)
tree5e8a39ffb557b0228532add65ed4cc9a8a1458ae
parentbba19f56c494bc5331b91e89799b1d26bed51458 (diff)
community/ruby-english: bootstrapping
-rw-r--r--community/ruby-english/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/ruby-english/PKGBUILD b/community/ruby-english/PKGBUILD
new file mode 100644
index 00000000..f41379db
--- /dev/null
+++ b/community/ruby-english/PKGBUILD
@@ -0,0 +1,12 @@
+# bootstrapping with ruby-bootstrap in /opt/ruby-xxx
+depends=(${depends[@]//ruby/})
+depends+='ruby-bootstrap'
+
+# 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
+ '
+)"
+