From 84423902280723c0e79ae8a2ddf19fa4bc00ff1a Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 29 Apr 2018 13:03:45 -0300 Subject: [PATCH] notmuch: update to 0.26.2. Closes #13952. Signed-off-by: Enno Boland --- srcpkgs/notmuch/template | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/srcpkgs/notmuch/template b/srcpkgs/notmuch/template index 85145378e79..e33db34a660 100644 --- a/srcpkgs/notmuch/template +++ b/srcpkgs/notmuch/template @@ -1,17 +1,18 @@ # Template file for 'notmuch' pkgname=notmuch -version=0.26 +version=0.26.2 revision=1 -hostmakedepends="python-devel python-setuptools pkg-config perl python-Sphinx" -makedepends="xapian-core-devel gmime-devel talloc-devel bash-completion" +hostmakedepends="perl pkg-config python-Sphinx python-devel" +makedepends="bash-completion gmime-devel talloc-devel xapian-core-devel" short_desc="Thread-based email index, search, and tagging" maintainer="Jan S. " -license="GPL-3" -homepage="http://notmuchmail.org" +license="GPL-3.0-or-later" +homepage="https://notmuchmail.org" distfiles="http://http.debian.net/debian/pool/main/n/notmuch/notmuch_${version}.orig.tar.gz" -checksum=d3e894ed2ad9d721a442663f07a6f2a241dc98be7cc4af681f16edf88e0d76df +checksum=109c1865db7a035d08707421d13e9b6b82ee8e9f1534db70c28c51bc39370e3b subpackages="libnotmuch libnotmuch-devel notmuch-mutt notmuch-python" + case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) makedepends+=" emacs" @@ -29,6 +30,7 @@ do_configure() { --bashcompletiondir=/usr/share/bash-completion/completions \ --zshcompletiondir=/usr/share/zsh/site-functions ${_args} } + do_build() { make ${makejobs} V=1 make -C contrib/notmuch-mutt @@ -36,6 +38,7 @@ do_build() { cd bindings/python python setup.py build --build-base=build-2 } + do_install() { make DESTDIR=${DESTDIR} install cd bindings/python @@ -49,6 +52,7 @@ libnotmuch_package() { vmove usr/lib/*.so.* } } + libnotmuch-devel_package() { short_desc+=" - development files" depends="libnotmuch-${version}_${revision}" @@ -57,6 +61,7 @@ libnotmuch-devel_package() { vmove usr/lib/*.so } } + notmuch-emacs_package() { noarch=yes short_desc+=" - Emacs interface" @@ -65,6 +70,7 @@ notmuch-emacs_package() { vmove usr/share/emacs/site-lisp } } + notmuch-mutt_package() { noarch=yes short_desc+=" - Mutt interface" @@ -75,6 +81,7 @@ notmuch-mutt_package() { vman contrib/notmuch-mutt/notmuch-mutt.1 } } + notmuch-python_package() { depends="libnotmuch-devel>=${version}_${revision}" short_desc+=" - Python2 bindings"