void-packages/srcpkgs/mu/template

29 lines
830 B
Bash

# Template file for 'mu'
pkgname=mu
reverts="1.3.1_1"
version=1.2
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config emacs texinfo"
makedepends="xapian-core-devel gmime3-devel libuuid-devel"
short_desc="Emacs-based tool for dealing with e-mail stored in the Maildir-format"
maintainer="Benjamin Slade <slade@jnanam.net>"
license="GPL-3.0-or-later"
homepage="http://www.djcbsoftware.nl/code/mu/"
distfiles="https://github.com/djcb/mu/archive/${version}.tar.gz"
checksum=75ac379ddbaa35ab54035b057bf729537afbef09c71505c2f7209826265e049a
pre_configure() {
sed -i 's,-I${prefix}/include,,' contrib/Makefile.am
autoreconf -fi
}
mu4e_package() {
short_desc+=" - Emacs frontend"
depends="${sourcepkg}>=${version}_${revision} emacs"
pkg_install() {
vmove usr/share/emacs
vmove usr/share/info
}
}