chiark / gitweb /
minicom and lrzsz (#228)
[termux-packages] / packages / hunspell-en-us / build.sh
1 TERMUX_PKG_HOMEPAGE=http://hunspell.github.io/
2 TERMUX_PKG_DESCRIPTION="American english dictionary for hunspell"
3 TERMUX_PKG_VERSION=2016.07.01
4 TERMUX_PKG_PLATFORM_INDEPENDENT=yes
5
6 termux_step_make_install () {
7         mkdir -p $TERMUX_PREFIX/share/hunspell/
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 \
17                         05656776e6c8066d9a63712451c0f57b38b48ce58c6da688211b2b654f11de13
18 }