Install vim plugin with vim-addons

Signed-off-by: martin f. krafft <madduck@debian.org>
This commit is contained in:
martin f. krafft 2010-01-21 14:58:19 +13:00
parent 9a66a8f877
commit 6e4be17ab8
5 changed files with 28 additions and 0 deletions

6
debian/README.Debian vendored Normal file
View file

@ -0,0 +1,6 @@
notmuch for Debian
==================
To use the vim plugin, please install it using vim-addons(1)
-- martin f. krafft <madduck@debian.org> Thu, 21 Jan 2010 14:50:19 +1300

1
debian/changelog vendored
View file

@ -9,6 +9,7 @@ notmuch (0.0+201001211401) unstable; urgency=low
* Put debian/* under separate copyright. * Put debian/* under separate copyright.
* Make Carl the maintainer. * Make Carl the maintainer.
* Add myself to uploaders. * Add myself to uploaders.
* Install the vim plugin (using vim-addons).
-- martin f. krafft <madduck@debian.org> Thu, 21 Jan 2010 14:00:54 +1300 -- martin f. krafft <madduck@debian.org> Thu, 21 Jan 2010 14:00:54 +1300

3
debian/notmuch.dirs vendored
View file

@ -1,3 +1,6 @@
usr/bin usr/bin
usr/share/emacs/site-lisp/notmuch usr/share/emacs/site-lisp/notmuch
usr/share/vim/registry
usr/share/vim/addons/plugin
usr/share/vim/addons/syntax
etc/bash_completion.d etc/bash_completion.d

10
debian/rules vendored
View file

@ -1,3 +1,13 @@
#!/usr/bin/make -f #!/usr/bin/make -f
%: %:
dh $@ dh $@
override_dh_installdocs:
dh_installdocs
install -m644 vim/README debian/notmuch/usr/share/doc/notmuch/README.vim
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

8
vim/notmuch.yaml Normal file
View file

@ -0,0 +1,8 @@
addon: notmuch
description: "notmuch mail user interface"
files:
- plugin/notmuch.vim
- syntax/notmuch-compose.vim
- syntax/notmuch-folders.vim
- syntax/notmuch-search.vim
- syntax/notmuch-show.vim