summaryrefslogtreecommitdiff
path: root/community/spring/PKGBUILD
blob: de42cd577ea308738162afd64a126170b3eac094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# https://springrts.com/mantis/view.php?id=5413

for ((i=0; i<${#sha512sums[@]}; i++)); do
  if [ "${source[${i}]}" = 'gold-linker.patch' ]; then
    break
  fi
done
sha512sums[${i}]]='7d29099f589f4ab70262ebb307f905bdaa7e20606421ca2efaf69d391b271d3e1015f44087161106546ebe1ef197dc758c5de0120feff3f473e69ec96555d3a8'

eval "$(
  declare -f prepare | \
    sed '
      2 a \
        cd spring_$pkgver \
        patch -Np1 -i ../gold-linker.patch \
        cd ..
    '
)"