diff --git a/packages/odt2txt/build.sh b/packages/odt2txt/build.sh new file mode 100644 index 000000000..902407e89 --- /dev/null +++ b/packages/odt2txt/build.sh @@ -0,0 +1,15 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/dstosberg/odt2txt +TERMUX_PKG_DESCRIPTION="Simple converter from OpenDocument Text to plain text" +TERMUX_PKG_LICENSE="GPL-2.0" +TERMUX_PKG_MAINTAINER="Leonid Plyushch " +TERMUX_PKG_VERSION=0.5 +TERMUX_PKG_REVISION=3 +TERMUX_PKG_SRCURL=https://github.com/dstosberg/odt2txt/archive/v$TERMUX_PKG_VERSION.tar.gz +TERMUX_PKG_SHA256=23a889109ca9087a719c638758f14cc3b867a5dcf30a6c90bf6a0985073556dd +TERMUX_PKG_DEPENDS="libiconv, libzip, zlib" +TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_EXTRA_MAKE_ARGS="DESTDIR=$TERMUX_PREFIX" + +termux_step_configure() { + LDFLAGS+=" -liconv" +}