Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/rubygems/PKGBUILD
blob: e06368d4df44a0ba98711e3cee47e07ae3a440e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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

source+=(rubygems-3.3.23-no-rdoc.patch)
sha512sums+=(91a0c886b264f40ad80d3d6b0f494e6b4fa9b11b121943956b4484ea0763e6f959f6e87a6b844ecbd7b6b58752fe950297c489bf202cc78af4092707c6713bf0)
eval "$(
  declare -f prepare \
  | sed '
    $ i patch -p1 -i "$srcdir"/rubygems-3.3.23-no-rdoc.patch
  '
)"