ruby: Build 32-bit variants with gcc for now
[termux-packages] / packages / hunspell-en-us / build.sh
CommitLineData
149fa66c 1TERMUX_PKG_HOMEPAGE=https://hunspell.github.io
59f0d218 2TERMUX_PKG_DESCRIPTION="American english dictionary for hunspell"
7e9153c9 3TERMUX_PKG_VERSION=2017.10.27
2e182e93 4TERMUX_PKG_PLATFORM_INDEPENDENT=yes
59f0d218
FF
5
6termux_step_make_install () {
59f0d218 7 mkdir -p $TERMUX_PREFIX/share/hunspell/
e957f074
FF
8 # On checksum mismatch the files may have been updated:
9 # https://cgit.freedesktop.org/libreoffice/dictionaries/log/en/en_US.aff
10 # https://cgit.freedesktop.org/libreoffice/dictionaries/log/en/en_US.dic
11 # In which case we need to bump version and checksum used.
12 termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.aff \
13 $TERMUX_PREFIX/share/hunspell/en_US.aff \
14 c7a8c4d08c29d237880844b1623099f59092602f189be38ce3912e457ff38bc1
15 termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.dic \
16 $TERMUX_PREFIX/share/hunspell/en_US.dic \
7e9153c9 17 fa070979b1c5448bd7ab66eb6acb616d306f92879eb4218bc16ee35d39a608ee
cc842fa5 18 touch $TERMUX_PREFIX/share/hunspell/en_US.{aff,dic}
59f0d218 19}