summaryrefslogtreecommitdiff
path: root/community/haskell-hslua/PKGBUILD
blob: 349508b00ca3c8c4362730c1081bf270cc15bb1e (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
# See https://github.com/jgm/pandoc/issues/4224 and
# https://github.com/jgm/pandoc/issues/3805

eval "$(
  declare -f build | \
    sed '
      s| -f-lua_32bits| -flua_32bits|
    '
)"

# this test hangs (why?)

eval "$(
  declare -f prepare | \
    sed '
      2 a \
        sed -i '"'"' \
          /loadfile loading/ { \
            :a \
              /^.*\\n$/d \
              N \
              ba \
          } \
        '"'"' "$_hkgname-$pkgver/test/Foreign/Lua/ApiTest.hs"
    '
)"