a6ac737aba1c9bb129bae93e7a684f6cbf13f160
[termux-packages] / packages / notmuch / build.sh
1 TERMUX_PKG_HOMEPAGE=https://notmuchmail.org
2 TERMUX_PKG_DESCRIPTION="Thread-based email index, search and tagging system"
3 TERMUX_PKG_VERSION=0.26.1
4 TERMUX_PKG_SHA256=d3f7e44f4dd0a75150b73e41737c4923ba94ea2947b9fe585f0aab591bb4a837
5 TERMUX_PKG_SRCURL=https://notmuchmail.org/releases/notmuch-${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_BUILD_IN_SRC=yes
7 TERMUX_PKG_DEPENDS="glib, libgmime, libtalloc, libxapian"
8
9 termux_step_configure () {
10 # Use python3 so that the python3-sphinx package is
11 # found for man page generation.
12 export PYTHON=python3
13
14 cd $TERMUX_PKG_SRCDIR
15 XAPIAN_CONFIG=$TERMUX_PREFIX/bin/xapian-config ./configure \
16 --prefix=$TERMUX_PREFIX \
17 --without-api-docs \
18 --without-desktop \
19 --without-emacs \
20 --without-ruby
21 }