Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/ruby-erb/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 19:36:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-06 19:36:45 +0200
commit391d388bb4638ce1bec8e85f8ea733f62beccfd2 (patch)
tree45dd9ce181a3acf3042b23cc257eb7efb760ead5 /community/ruby-erb/PKGBUILD
parent9eab0dfd71acf3a4b16cc35643977f0b176214f1 (diff)
community/ruby-erb: bootstrapping
Diffstat (limited to 'community/ruby-erb/PKGBUILD')
-rw-r--r--community/ruby-erb/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ruby-erb/PKGBUILD b/community/ruby-erb/PKGBUILD
new file mode 100644
index 00000000..44ce0875
--- /dev/null
+++ b/community/ruby-erb/PKGBUILD
@@ -0,0 +1,11 @@
+# bootstrapping with ruby-bootstrap in /opt/ruby-xxx
+depends=('ruby-bootstrap' 'ruby-cgi')
+
+# 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
+ '
+)"
+