2017-03-24 01:17:39 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://hunspell.github.io
|
|
|
|
TERMUX_PKG_DESCRIPTION="Russian dictionary for hunspell"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-3.0"
|
2019-05-21 13:13:59 +02:00
|
|
|
TERMUX_PKG_VERSION=20170303
|
2019-08-14 13:27:16 +02:00
|
|
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
2017-03-24 01:17:39 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2017-03-24 01:17:39 +01:00
|
|
|
mkdir -p $TERMUX_PREFIX/share/hunspell/
|
|
|
|
# On checksum mismatch the files may have been updated:
|
|
|
|
# https://cgit.freedesktop.org/libreoffice/dictionaries/log/ru_RU/ru_RU.aff
|
|
|
|
# https://cgit.freedesktop.org/libreoffice/dictionaries/log/ru_RU/ru_RU.dic
|
|
|
|
# In which case we need to bump version and checksum used.
|
|
|
|
termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/ru_RU.aff \
|
|
|
|
$TERMUX_PREFIX/share/hunspell/ru_RU.aff \
|
2019-02-12 09:23:21 +01:00
|
|
|
709cf9b41208961226e995a3ab75a2da834aaf4f9707cb87cbb37d4943b6a50d
|
2017-03-24 01:17:39 +01:00
|
|
|
termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/ru_RU.dic \
|
|
|
|
$TERMUX_PREFIX/share/hunspell/ru_RU.dic \
|
2019-02-12 09:23:21 +01:00
|
|
|
c0d81126b0a905ccc6fd891c923b43d39b4ce449da5a333859229354c510168f
|
2017-03-24 01:17:39 +01:00
|
|
|
touch $TERMUX_PREFIX/share/hunspell/ru_RU.{aff,dic}
|
|
|
|
}
|