void-packages/srcpkgs/mu/template
2019-04-07 17:42:17 -03:00

27 lines
812 B
Bash

# Template file for 'mu'
pkgname=mu
version=1.2
revision=1
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
}
}