Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/ruby-test-unit/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-09 14:51:38 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-09 14:51:38 +0200
commit5f870c53424219a2a7283d030c25e0e5842f66e3 (patch)
treed5edf6c5ca95fbcd4eade2b9ebb1a0e8222a7899 /community/ruby-test-unit/PKGBUILD
parente823d372bceca202cbbf8fa1131e4128b59cc991 (diff)
community/ruby-test-unit: rebuilding
Diffstat (limited to 'community/ruby-test-unit/PKGBUILD')
-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