termux-packages/packages/notmuch/build.sh

26 lines
881 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"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
2021-01-07 15:19:44 +01:00
TERMUX_PKG_VERSION=0.31.3
2019-06-24 21:45:38 +02:00
TERMUX_PKG_SRCURL=https://notmuchmail.org/releases/notmuch-${TERMUX_PKG_VERSION}.tar.xz
2021-01-07 15:19:44 +01:00
TERMUX_PKG_SHA256=484041aed08f88f3a528a5b82489b6cda4090764228813bca73678da3a753aca
2019-06-19 23:50:00 +02:00
TERMUX_PKG_DEPENDS="glib, libc++, libgmime, libtalloc, libxapian, zlib"
TERMUX_PKG_BREAKS="notmuch-dev"
TERMUX_PKG_REPLACES="notmuch-dev"
TERMUX_PKG_BUILD_IN_SRC=true
2017-04-07 01:11:41 +02:00
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
}