Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/ruby-power_assert
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-09 14:36:35 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-09 14:36:35 +0200
commit50ee2e401da867c9c50d9210cb711c564a155ce8 (patch)
tree1dcb2358b4c90fbf7f2562e2c35e495a550a96b0 /community/ruby-power_assert
parent238356ec5918f8f6b83d490b69f43e83e05cb668 (diff)
community/ruby-power_assert: rebuilding
Diffstat (limited to 'community/ruby-power_assert')
-rw-r--r--community/ruby-power_assert/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/ruby-power_assert/PKGBUILD b/community/ruby-power_assert/PKGBUILD
new file mode 100644
index 00000000..472071e2
--- /dev/null
+++ b/community/ruby-power_assert/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