~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build of python after build-package.sh rewrite
[termux-packages]
/
packages
/
hunspell
/
build.sh
diff --git
a/packages/hunspell/build.sh
b/packages/hunspell/build.sh
index
0db9c87
..
b8c6cd7
100644
(file)
--- a/
packages/hunspell/build.sh
+++ b/
packages/hunspell/build.sh
@@
-1,6
+1,14
@@
-T
ERMUX_PKG_HOMEPAGE=http://hunspell.sourceforge.net/
+T
TERMUX_PKG_HOMEPAGE=https://hunspell.github.io
TERMUX_PKG_DESCRIPTION="Spell checker"
TERMUX_PKG_DESCRIPTION="Spell checker"
-TERMUX_PKG_VERSION=1.3.3
-TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/hunspell/Hunspell/${TERMUX_PKG_VERSION}/hunspell-${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_VERSION=1.6.0
+TERMUX_PKG_SRCURL=https://github.com/hunspell/hunspell/archive/v${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_SHA256=512e7d2ee69dad0b35ca011076405e56e0f10963a02d4859dbcc4faf53ca68e2
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ui --with-readline"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ui --with-readline"
-TERMUX_PKG_DEPENDS="ncurses, readline"
+TERMUX_PKG_DEPENDS="ncurses, readline, hunspell-en-us"
+TERMUX_PKG_FOLDERNAME=hunspell-${TERMUX_PKG_VERSION}
+TERMUX_PKG_BUILD_IN_SRC=yes
+
+termux_step_pre_configure() {
+ cd $TERMUX_PKG_SRCDIR
+ autoreconf -vfi
+}