Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/ruby-test-unit/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/ruby-test-unit/PKGBUILD b/community/ruby-test-unit/PKGBUILD
index e69de29b..472071e2 100644
--- a/community/ruby-test-unit/PKGBUILD
+++ b/community/ruby-test-unit/PKGBUILD
@@ -0,0 +1,17 @@
+# bootstrapped packages in first step from /opt/ruby- contain
+# /opt/ruby-XXX/bin in the binaries in /usr/bin and they have
+# wrong architecture strings in native library code
+eval "$(
+ declare -f build | \
+ sed '
+ 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux
+ '
+)"
+eval "$(
+ declare -f package | \
+ sed '
+ 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux
+ '
+)"
+
+unset check