You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.0 KiB
22 lines
1.0 KiB
TERMUX_PKG_HOMEPAGE=https://hunspell.github.io
|
|
TERMUX_PKG_DESCRIPTION="American english dictionary for hunspell"
|
|
TERMUX_PKG_LICENSE="LGPL-3.0"
|
|
TERMUX_PKG_VERSION=20181025
|
|
TERMUX_PKG_REVISION=1
|
|
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/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 \
|
|
e2aec1aff3e2b840c59e2a4f49f7eb9388b6078c681d960153fc72ce183086cc
|
|
touch $TERMUX_PREFIX/share/hunspell/en_US.{aff,dic}
|
|
}
|
|
|