From 886a9e0eea800c464204aaed624e7efd3100d3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sat, 19 Aug 2017 18:50:23 +0200 Subject: community/notmuch: add emacs subpackage --- community/notmuch/APKBUILD | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'community/notmuch/APKBUILD') diff --git a/community/notmuch/APKBUILD b/community/notmuch/APKBUILD index 047f0b9f40..8cd3783215 100644 --- a/community/notmuch/APKBUILD +++ b/community/notmuch/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Stefan Wagner pkgname=notmuch pkgver=0.24.1 -pkgrel=3 +pkgrel=4 pkgdesc="E-Mail index, search and tagging" url="https://notmuchmail.org/" arch="all" @@ -15,6 +15,7 @@ subpackages=" $pkgname-doc $pkgname-libs $pkgname-vim:vim:noarch + $pkgname-emacs:emacs:noarch $pkgname-zsh-completion:zshcomp:noarch $pkgname-bash-completion:bashcomp:noarch" source="https://notmuchmail.org/releases/$pkgname-$pkgver.tar.gz @@ -70,6 +71,17 @@ vim() { prefix="/usr/share/vim/vimfiles" install } +emacs() { + depends="emacs notmuch" + pkgdesc="Emacs plugins for $pkgname" + + mkdir -p "$subpkgdir"/usr/share/ + mv "$pkgdir"/usr/share/emacs/ "$subpkgdir"/usr/share/emacs/ + + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/notmuch-emacs-mua "$subpkgdir"/usr/bin/ +} + bashcomp() { depends="" pkgdesc="Bash completions for $pkgname" -- cgit v1.2.3