From c83ab8bd1422b96a1491afc21c03388fb299699e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sat, 19 Aug 2017 18:47:39 +0200 Subject: community/notmuch: add vim subpackage --- community/notmuch/APKBUILD | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'community/notmuch') diff --git a/community/notmuch/APKBUILD b/community/notmuch/APKBUILD index 0de30e4e66..047f0b9f40 100644 --- a/community/notmuch/APKBUILD +++ b/community/notmuch/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Stefan Wagner pkgname=notmuch pkgver=0.24.1 -pkgrel=2 +pkgrel=3 pkgdesc="E-Mail index, search and tagging" url="https://notmuchmail.org/" arch="all" @@ -14,6 +14,7 @@ subpackages=" $pkgname-dev $pkgname-doc $pkgname-libs + $pkgname-vim:vim:noarch $pkgname-zsh-completion:zshcomp:noarch $pkgname-bash-completion:bashcomp:noarch" source="https://notmuchmail.org/releases/$pkgname-$pkgver.tar.gz @@ -61,6 +62,14 @@ check() { done } +vim() { + depends="vim notmuch" + pkgdesc="Vim plugins for $pkgname" + + make -C "$builddir/vim" DESTDIR="$subpkgdir" \ + prefix="/usr/share/vim/vimfiles" install +} + bashcomp() { depends="" pkgdesc="Bash completions for $pkgname" -- cgit v1.2.3