summaryrefslogtreecommitdiff
path: root/extra/gspell/PKGBUILD
blob: 31b640a6fad20edbc1fa697bc0c5a7be272ad1cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# temporary workaround for FS#63550

eval "$(
  declare -f build | \
    sed '
      s/configure/configure --disable-dependency-tracking/
      /make/ i \
      sed -i s/@CODE_COVERAGE_RULES@//g Makefile \
      sed -i s/@CODE_COVERAGE_RULES@//g gspell/Makefile \
      sed -i s/@CODE_COVERAGE_RULES@//g testsuite/Makefile
    '
)"

# see https://gitlab.gnome.org/GNOME/gspell/commit/8bd7cac01d8cd27a25b48858843cb21e91f3952e
source+=('8bd7cac01d8cd27a25b48858843cb21e91f3952e.diff')
sha256sums+=('d6713a97a151e2556409da28f3f9be4a2c091f82d2b45054bc5d0fc2bfbd3621')
eval "$(
  declare -f prepare | \
    sed '
      3 a patch -p1 -i "$srcdir/8bd7cac01d8cd27a25b48858843cb21e91f3952e.diff"
    '
)"