[PATCH v3 17/17] debian: install notmuch-git

Subject: [PATCH v3 17/17] debian: install notmuch-git

Date: Sat, 4 Jun 2022 14:23:13 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


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
-- 
2.35.2

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: