termux-packages/packages/notmuch/build.sh
Suhan G Paradkar 3dc78812f1
Updates to a few packages (#6850)
* Update apt

* Update bat

* Update caddy

* Update clash

* Update croc

* Update dar

* Update exiftool

* Update ffsend

* Update delve

* Update imagemagick

* Update libxml2

* Update micro

* Update mime-support

* Update notmuch
2021-05-25 07:39:23 +05:30

26 lines
881 B
Bash

TERMUX_PKG_HOMEPAGE=https://notmuchmail.org
TERMUX_PKG_DESCRIPTION="Thread-based email index, search and tagging system"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.32.1
TERMUX_PKG_SRCURL=https://notmuchmail.org/releases/notmuch-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=a747ca4e8cc919d91feda6cadb97e63b72ff79119491989bbcea79ad47680615
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
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
}