hunspell-en-us: Mark as platform-independent
[termux-packages] / packages / hunspell-en-us / build.sh
1 TERMUX_PKG_HOMEPAGE=http://sourceforge.net/projects/hunspell/files/Spelling%20dictionaries/en_US/
2 TERMUX_PKG_DESCRIPTION="American english dictionary for hunspell"
3 TERMUX_PKG_VERSION=1.1
4 TERMUX_PKG_BUILD_REVISION=1
5 TERMUX_PKG_DEPENDS="hunspell"
6 TERMUX_PKG_PLATFORM_INDEPENDENT=yes
7
8 termux_step_make_install () {
9 curl -L http://downloads.sourceforge.net/project/hunspell/Spelling%20dictionaries/en_US/en_US.zip > en_US.zip
10 unzip en_US.zip
11 rm -Rf $TERMUX_PREFIX/share/hunspell/en_US.{aff,dic}
12 mkdir -p $TERMUX_PREFIX/share/hunspell/
13 mv en_US.{aff,dic} $TERMUX_PREFIX/share/hunspell/
14 }