termux-packages/packages/notmuch/build.sh

23 lines
760 B
Bash
Raw Normal View History

2017-04-07 01:11:41 +02:00
TERMUX_PKG_HOMEPAGE=https://notmuchmail.org
TERMUX_PKG_DESCRIPTION="Thread-based email index, search and tagging system"
2017-07-26 15:13:26 +02:00
TERMUX_PKG_VERSION=0.25
2017-07-26 16:13:45 +02:00
TERMUX_PKG_REVISION=1
2017-07-26 15:13:26 +02:00
TERMUX_PKG_SHA256=65d28d1f783d02629039f7d15d9a2bada147a7d3809f86fe8d13861b0f6ae60b
2017-04-07 01:11:41 +02:00
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 () {
2017-07-26 16:13:45 +02:00
# Use python3 so that the python3-sphinx package is
# found for man page generation.
export PYTHON=python3
2017-04-07 01:11:41 +02:00
cd $TERMUX_PKG_SRCDIR
XAPIAN_CONFIG=$TERMUX_PREFIX/bin/xapian-config ./configure \
--prefix=$TERMUX_PREFIX \
--without-api-docs \
--without-desktop \
--without-emacs \
--without-ruby
}