37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
23 lines
1.1 KiB
Bash
23 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://hunspell.github.io
|
|
TERMUX_PKG_DESCRIPTION="Russian dictionary for hunspell"
|
|
TERMUX_PKG_LICENSE="LGPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=20200604
|
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
termux_step_make_install() {
|
|
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 \
|
|
38ce7d4af78e211e9bafe4bf7e3d6a2c420591136cb738ec6648f8fdf6524cd7
|
|
termux_download https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/ru_RU.dic \
|
|
$TERMUX_PREFIX/share/hunspell/ru_RU.dic \
|
|
3280afe7829128ff589b2c5d8f46810ed9b0eddcc85e9b1cc3d12dc08d4c1a0b
|
|
touch $TERMUX_PREFIX/share/hunspell/ru_RU.{aff,dic}
|
|
}
|