Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/luajit/PKGBUILD
blob: 3f91f70089ae6bfb7215a17525812010a668d858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if [ "$CARCH" = 'i486' ]; then
  source+=('luajit-2.0-505e2c0-i486.patch')
  b2sums+=('4a467db526fa550942dee7da7dd599f5976f519573773afab74c372bbb2aa243d60384699c50695dadf0be086fc5b54253692d0836c22da4b079a73b0eb7a822')
  prepare() {
    cd "LuaJIT-${_commit}"
    patch -p1 -i "$srcdir/luajit-2.0-505e2c0-i486.patch"
  }
fi

if [ "$CARCH" = 'i686' ]; then
  source+=('c7815e1a1b49871e645252bb12e722fb4879df11.patch')
  b2sums+=('fabd0be78309d8211e96d4d0cf105ae6a27f46110d8b19513d10bdd7c6045221fc5c8e21d1bcc1def854d7d1bf6473c99fb7bc7e4d5307188129c3c87cf8c69b')
  prepare() {
    cd "LuaJIT-${_commit}"
    patch -p1 -i "$srcdir/c7815e1a1b49871e645252bb12e722fb4879df11.patch"
  }
fi

unset md5sums
unset sha256sums