debian: split off vim interface to its own package

So far the package does notthing fancy with vim-addon-manager.
This commit is contained in:
David Bremner 2011-06-21 14:31:21 -03:00 committed by David Bremner
parent 6f3d3c68a0
commit 33330dc050
4 changed files with 20 additions and 10 deletions

21
debian/control vendored
View file

@ -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.

3
debian/notmuch-vim.install vendored Normal file
View file

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

6
debian/rules vendored
View file

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