aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@unb.ca>2011-06-21 14:31:21 -0300
committerGravatar David Bremner <bremner@debian.org>2011-06-23 07:54:40 -0300
commit33330dc050b0e841fac8bec31eedd2ceb18d9e48 (patch)
tree9e10d28ad0d71ec233e111ee28383d841fa97626 /debian
parent6f3d3c68a0f36325ec29b8196ee9b956bcd31a37 (diff)
debian: split off vim interface to its own package
So far the package does notthing fancy with vim-addon-manager.
Diffstat (limited to 'debian')
-rw-r--r--debian/README.notmuch-vim (renamed from debian/README.Debian)0
-rw-r--r--debian/control21
-rw-r--r--debian/notmuch-vim.install3
-rwxr-xr-xdebian/rules6
4 files changed, 20 insertions, 10 deletions
diff --git a/debian/README.Debian b/debian/README.notmuch-vim
index f07b4991..f07b4991 100644
--- a/debian/README.Debian
+++ b/debian/README.notmuch-vim
diff --git a/debian/control b/debian/control
index 77682b50..68603baf 100644
--- a/debian/control
+++ b/debian/control
@@ -16,16 +16,14 @@ Dm-Upload-Allowed: yes
Package: notmuch
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Enhances: vim
-Suggests: vim, vim-addon-manager
+Recommends: notmuch-emacs | notmuch-vim
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 the notmuch command-line interface as well as
- the vim interface for notmuch.
+ This package contains the notmuch command-line interface
Package: libnotmuch1
Section: libs
@@ -82,3 +80,18 @@ Description: thread-based email index, search and tagging (emacs interface)
This package provides an emacs based mail user agent based on
notmuch.
+Package: notmuch-vim
+Architecture: all
+Section: mail
+Breaks: notmuch (<<0.6~238~)
+Replaces: notmuch (<<0.6~238~)
+Depends: ${misc:Depends}, notmuch, vim-addon-manager
+Description: thread-based email index, search and tagging (emacs interface)
+ 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 provides a vim based mail user agent based on
+ notmuch.
+
diff --git a/debian/notmuch-vim.install b/debian/notmuch-vim.install
new file mode 100644
index 00000000..95ab07bb
--- /dev/null
+++ b/debian/notmuch-vim.install
@@ -0,0 +1,3 @@
+vim/plugin/notmuch.vim usr/share/vim/addons/plugin
+vim/syntax/notmuch-*.vim usr/share/vim/addons/syntax
+vim/notmuch.yaml usr/share/vim/registry
diff --git a/debian/rules b/debian/rules
index 9ac190ea..fbd863db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,9 +29,3 @@ override_dh_installdocs:
override_dh_auto_build:
make RPATH_LDFLAGS=""
-
-override_dh_install:
- dh_install
- install -m644 vim/plugin/notmuch.vim debian/notmuch/usr/share/vim/addons/plugin
- install -m644 vim/syntax/notmuch-*.vim debian/notmuch/usr/share/vim/addons/syntax
- install -m644 vim/notmuch.yaml debian/notmuch/usr/share/vim/registry