Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-09 09:55:46 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-09 09:55:46 +0200
commit088a1683d1b1c7e003aa749fc2ad293a017ad150 (patch)
treebaed670f192291d75d54506d1a662a69be8b4b1b /community
parentf1b42b3d18eab8ade8c02ac3dce75af3df742091 (diff)
community/ruby-kpeg: rebuilding against ruby with patching for finding shared libraries
Diffstat (limited to 'community')
-rw-r--r--community/ruby-kpeg/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/ruby-kpeg/PKGBUILD b/community/ruby-kpeg/PKGBUILD
new file mode 100644
index 00000000..472071e2
--- /dev/null
+++ b/community/ruby-kpeg/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