aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar martin f. krafft <madduck@debian.org>2010-01-21 14:58:19 +1300
committerGravatar martin f. krafft <madduck@debian.org>2010-01-21 14:58:19 +1300
commit6e4be17ab84b5b20409c1420eeb1f4f1db7dc52f (patch)
tree7e45e24d58e9b0c22efcad450b32e76e02815c49
parent9a66a8f8770ccccb5394f4c8e633d1cf884043f6 (diff)
Install vim plugin with vim-addons
Signed-off-by: martin f. krafft <madduck@debian.org>
-rw-r--r--debian/README.Debian6
-rw-r--r--debian/changelog1
-rw-r--r--debian/notmuch.dirs3
-rwxr-xr-xdebian/rules10
-rw-r--r--vim/notmuch.yaml8
5 files changed, 28 insertions, 0 deletions
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 <madduck@debian.org> 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 <madduck@debian.org> 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