From 3d9953724d695dd03201cb5601e665eb1068b788 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Tue, 8 Dec 2020 16:22:52 +0000 Subject: [PATCH] new package: aspell-fr --- packages/aspell-fr/build.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/aspell-fr/build.sh diff --git a/packages/aspell-fr/build.sh b/packages/aspell-fr/build.sh new file mode 100644 index 000000000..057ae31ec --- /dev/null +++ b/packages/aspell-fr/build.sh @@ -0,0 +1,21 @@ +TERMUX_PKG_HOMEPAGE=http://aspell.net/ +TERMUX_PKG_DESCRIPTION="French dictionary for aspell" +TERMUX_PKG_LICENSE="GPL-2.0" +TERMUX_PKG_VERSION=1:0.50 +TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/aspell/dict/fr/aspell-fr-${TERMUX_PKG_VERSION:2}-3.tar.bz2 +TERMUX_PKG_SHA256=f9421047519d2af9a7a466e4336f6e6ea55206b356cd33c8bd18cb626bf2ce91 +TERMUX_PKG_DEPENDS="aspell" +TERMUX_PKG_BUILD_IN_SRC=true +TERMUX_PKG_PLATFORM_INDEPENDENT=true + +termux_step_configure() { + cat > $TERMUX_PKG_SRCDIR/Makefile <<- EOF + ASPELL = `which aspell` + ASPELL_FLAGS = + PREZIP = `which prezip` + DESTDIR = + dictdir = $TERMUX_PREFIX/lib/aspell-0.60 + datadir = $TERMUX_PREFIX/lib/aspell-0.60 + EOF + cat $TERMUX_PKG_SRCDIR/Makefile.pre >> $TERMUX_PKG_SRCDIR/Makefile +}