2017-03-05 01:01:50 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://hunspell.github.io
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="American english dictionary for hunspell"
|
2017-11-02 00:49:11 +01:00
|
|
|
TERMUX_PKG_VERSION=2017.10.27
|
2016-03-06 08:39:51 +01:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_make_install () {
|
|
|
|
mkdir -p $TERMUX_PREFIX/share/hunspell/
|
2017-01-03 22:55:09 +01:00
|
|
|
# On checksum mismatch the files may have been updated:
|
|
|
|
# https://cgit.freedesktop.org/libreoffice/dictionaries/log/en/en_US.aff
|
|
|
|
# https://cgit.freedesktop.org/libreoffice/dictionaries/log/en/en_US.dic
|
|
|
|
# In which case we need to bump version and checksum used.
|
|
|
|
termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.aff \
|
|
|
|
$TERMUX_PREFIX/share/hunspell/en_US.aff \
|
|
|
|
c7a8c4d08c29d237880844b1623099f59092602f189be38ce3912e457ff38bc1
|
|
|
|
termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.dic \
|
|
|
|
$TERMUX_PREFIX/share/hunspell/en_US.dic \
|
2017-11-02 00:49:11 +01:00
|
|
|
fa070979b1c5448bd7ab66eb6acb616d306f92879eb4218bc16ee35d39a608ee
|
2017-03-13 22:41:37 +01:00
|
|
|
touch $TERMUX_PREFIX/share/hunspell/en_US.{aff,dic}
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|