Commit | Line | Data |
---|---|---|
149fa66c | 1 | TERMUX_PKG_HOMEPAGE=https://hunspell.github.io |
59f0d218 | 2 | TERMUX_PKG_DESCRIPTION="American english dictionary for hunspell" |
149fa66c | 3 | TERMUX_PKG_VERSION=2017.03.03 |
cc842fa5 | 4 | TERMUX_PKG_REVISION=1 |
2e182e93 | 5 | TERMUX_PKG_PLATFORM_INDEPENDENT=yes |
59f0d218 FF |
6 | |
7 | termux_step_make_install () { | |
59f0d218 | 8 | mkdir -p $TERMUX_PREFIX/share/hunspell/ |
e957f074 FF |
9 | # On checksum mismatch the files may have been updated: |
10 | # https://cgit.freedesktop.org/libreoffice/dictionaries/log/en/en_US.aff | |
11 | # https://cgit.freedesktop.org/libreoffice/dictionaries/log/en/en_US.dic | |
12 | # In which case we need to bump version and checksum used. | |
13 | termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.aff \ | |
14 | $TERMUX_PREFIX/share/hunspell/en_US.aff \ | |
15 | c7a8c4d08c29d237880844b1623099f59092602f189be38ce3912e457ff38bc1 | |
16 | termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.dic \ | |
17 | $TERMUX_PREFIX/share/hunspell/en_US.dic \ | |
149fa66c | 18 | 8cbce08a66fcd4dd32eadcff2def2653b94863c2e2be1851c6e612558153b076 |
cc842fa5 | 19 | touch $TERMUX_PREFIX/share/hunspell/en_US.{aff,dic} |
59f0d218 | 20 | } |