termux-packages/packages/notmuch/build.sh

22 lines
740 B
Bash

TERMUX_PKG_HOMEPAGE=https://notmuchmail.org
TERMUX_PKG_DESCRIPTION="Thread-based email index, search and tagging system"
TERMUX_PKG_VERSION=0.25.2
TERMUX_PKG_SHA256=e4b6ba9d4016b10249a4acc24e063d23e0c52ed6f8c1cbe4f98e7f9ef4da262a
TERMUX_PKG_SRCURL=https://notmuchmail.org/releases/notmuch-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_DEPENDS="glib, libgmime, libtalloc, libxapian"
termux_step_configure () {
# Use python3 so that the python3-sphinx package is
# found for man page generation.
export PYTHON=python3
cd $TERMUX_PKG_SRCDIR
XAPIAN_CONFIG=$TERMUX_PREFIX/bin/xapian-config ./configure \
--prefix=$TERMUX_PREFIX \
--without-api-docs \
--without-desktop \
--without-emacs \
--without-ruby
}