notmuch: update to 0.26.2.

Closes #13952.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-04-29 13:03:45 -03:00 committed by Enno Boland
parent 0550b10946
commit 8442390228

View file

@ -1,17 +1,18 @@
# Template file for 'notmuch' # Template file for 'notmuch'
pkgname=notmuch pkgname=notmuch
version=0.26 version=0.26.2
revision=1 revision=1
hostmakedepends="python-devel python-setuptools pkg-config perl python-Sphinx" hostmakedepends="perl pkg-config python-Sphinx python-devel"
makedepends="xapian-core-devel gmime-devel talloc-devel bash-completion" makedepends="bash-completion gmime-devel talloc-devel xapian-core-devel"
short_desc="Thread-based email index, search, and tagging" short_desc="Thread-based email index, search, and tagging"
maintainer="Jan S. <jan.schreib@gmail.com>" maintainer="Jan S. <jan.schreib@gmail.com>"
license="GPL-3" license="GPL-3.0-or-later"
homepage="http://notmuchmail.org" homepage="https://notmuchmail.org"
distfiles="http://http.debian.net/debian/pool/main/n/notmuch/notmuch_${version}.orig.tar.gz" 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" subpackages="libnotmuch libnotmuch-devel notmuch-mutt notmuch-python"
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) i686*|x86_64*)
makedepends+=" emacs" makedepends+=" emacs"
@ -29,6 +30,7 @@ do_configure() {
--bashcompletiondir=/usr/share/bash-completion/completions \ --bashcompletiondir=/usr/share/bash-completion/completions \
--zshcompletiondir=/usr/share/zsh/site-functions ${_args} --zshcompletiondir=/usr/share/zsh/site-functions ${_args}
} }
do_build() { do_build() {
make ${makejobs} V=1 make ${makejobs} V=1
make -C contrib/notmuch-mutt make -C contrib/notmuch-mutt
@ -36,6 +38,7 @@ do_build() {
cd bindings/python cd bindings/python
python setup.py build --build-base=build-2 python setup.py build --build-base=build-2
} }
do_install() { do_install() {
make DESTDIR=${DESTDIR} install make DESTDIR=${DESTDIR} install
cd bindings/python cd bindings/python
@ -49,6 +52,7 @@ libnotmuch_package() {
vmove usr/lib/*.so.* vmove usr/lib/*.so.*
} }
} }
libnotmuch-devel_package() { libnotmuch-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="libnotmuch-${version}_${revision}" depends="libnotmuch-${version}_${revision}"
@ -57,6 +61,7 @@ libnotmuch-devel_package() {
vmove usr/lib/*.so vmove usr/lib/*.so
} }
} }
notmuch-emacs_package() { notmuch-emacs_package() {
noarch=yes noarch=yes
short_desc+=" - Emacs interface" short_desc+=" - Emacs interface"
@ -65,6 +70,7 @@ notmuch-emacs_package() {
vmove usr/share/emacs/site-lisp vmove usr/share/emacs/site-lisp
} }
} }
notmuch-mutt_package() { notmuch-mutt_package() {
noarch=yes noarch=yes
short_desc+=" - Mutt interface" short_desc+=" - Mutt interface"
@ -75,6 +81,7 @@ notmuch-mutt_package() {
vman contrib/notmuch-mutt/notmuch-mutt.1 vman contrib/notmuch-mutt/notmuch-mutt.1
} }
} }
notmuch-python_package() { notmuch-python_package() {
depends="libnotmuch-devel>=${version}_${revision}" depends="libnotmuch-devel>=${version}_${revision}"
short_desc+=" - Python2 bindings" short_desc+=" - Python2 bindings"