From 8d3d98991d5b48b6552712a3ca6797b4ac9d95bf Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 7 Apr 2022 17:43:15 -0500 Subject: [PATCH] debian: install notmuch-git Use a separate binary package to avoid dragging in dependencies on python and git for those that do not want them. --- debian/control | 16 ++++++++++++++++ debian/notmuch-git.install | 2 ++ debian/notmuch-git.manpages | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 debian/notmuch-git.install create mode 100644 debian/notmuch-git.manpages diff --git a/debian/control b/debian/control index a11d4130..9706b0f7 100644 --- a/debian/control +++ b/debian/control @@ -66,6 +66,22 @@ Description: thread-based email index, search and tagging . This package contains the notmuch command-line interface +Package: notmuch-git +Architecture: all +Depends: + git, + notmuch, + python3, + ${misc:Depends} +Description: thread-based email index, search and tagging + Notmuch is a system for indexing, searching, reading, and tagging + large collections of email messages in maildir or mh format. It uses + the Xapian library to provide fast, full-text search with a very + convenient search syntax. + . + This package contains a simple tool to save, restore, and synchronize + notmuch tags via git repositories. + Package: notmuch-doc Architecture: all Depends: diff --git a/debian/notmuch-git.install b/debian/notmuch-git.install new file mode 100644 index 00000000..2be08276 --- /dev/null +++ b/debian/notmuch-git.install @@ -0,0 +1,2 @@ +notmuch-git /usr/bin +nmbug /usr/bin diff --git a/debian/notmuch-git.manpages b/debian/notmuch-git.manpages new file mode 100644 index 00000000..e0895c86 --- /dev/null +++ b/debian/notmuch-git.manpages @@ -0,0 +1,2 @@ +usr/share/man/man1/notmuch-git.1.gz +usr/share/man/man1/nmbug.1.gz