summaryrefslogtreecommitdiff
path: root/community/haskell-gauge/PKGBUILD
blob: eeba4490b4927db6476815cb70e4e24f6110f143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# temporarily disabled 'verbose' test, see upstream:
# https://github.com/vincenthz/hs-gauge/issues/54

eval "$(
  {
    declare -f prepare || \
    printf 'prepare() {\n}\n'
  } \
  | sed '
    $i cd "${srcdir}/${_hkgname}-${pkgver}" \
       sed -i '"'"'/test-suite verbose/, /test-suite quick/ { s/\(.*\)/#\1/ }'"'"' gauge.cabal \
       sed -i '"'"'s/#test-suite quick/test-suite quick/'"'"' gauge.cabal \
       sed -i '"'"'/^#.*/d'"'"' gauge.cabal
  '
)"