From 6e4be17ab84b5b20409c1420eeb1f4f1db7dc52f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 21 Jan 2010 14:58:19 +1300 Subject: [PATCH] Install vim plugin with vim-addons Signed-off-by: martin f. krafft --- debian/README.Debian | 6 ++++++ debian/changelog | 1 + debian/notmuch.dirs | 3 +++ debian/rules | 10 ++++++++++ vim/notmuch.yaml | 8 ++++++++ 5 files changed, 28 insertions(+) create mode 100644 debian/README.Debian create mode 100644 vim/notmuch.yaml diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 00000000..f07b4991 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +notmuch for Debian +================== + +To use the vim plugin, please install it using vim-addons(1) + + -- martin f. krafft Thu, 21 Jan 2010 14:50:19 +1300 diff --git a/debian/changelog b/debian/changelog index 43a7355f..d95f673a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ notmuch (0.0+201001211401) unstable; urgency=low * Put debian/* under separate copyright. * Make Carl the maintainer. * Add myself to uploaders. + * Install the vim plugin (using vim-addons). -- martin f. krafft Thu, 21 Jan 2010 14:00:54 +1300 diff --git a/debian/notmuch.dirs b/debian/notmuch.dirs index caa41609..ce7f2393 100644 --- a/debian/notmuch.dirs +++ b/debian/notmuch.dirs @@ -1,3 +1,6 @@ usr/bin usr/share/emacs/site-lisp/notmuch +usr/share/vim/registry +usr/share/vim/addons/plugin +usr/share/vim/addons/syntax etc/bash_completion.d diff --git a/debian/rules b/debian/rules index cbe925d7..1f6c4bbc 100755 --- a/debian/rules +++ b/debian/rules @@ -1,3 +1,13 @@ #!/usr/bin/make -f %: 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 diff --git a/vim/notmuch.yaml b/vim/notmuch.yaml new file mode 100644 index 00000000..3d8422c8 --- /dev/null +++ b/vim/notmuch.yaml @@ -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