void-packages/srcpkgs/mu4e/template
Benjamin Slade 772d28dae1 combine mu and mu4e packages and update to 1.6.3
- combine mu and mu4e packages under (more discoverable) name "mu4e"
  - add `replaces`/`provides` for old "mu" package
- add option for optional guile components
- update to 1.6.3
2021-08-14 20:23:25 +07:00

22 lines
842 B
Bash

# Template file for 'mu4e'
pkgname=mu4e
version=1.6.3
revision=1
wrksrc="mu-${version}"
build_style=gnu-configure
configure_args="--enable-mu4e $(vopt_if guile --enable-guile)"
hostmakedepends="automake emacs libtool pkg-config texinfo glib-devel"
makedepends="xapian-core-devel gmime3-devel libuuid-devel $(vopt_if guile guile)"
short_desc="Maildir-utils indexer/searcher and associated Emacs client"
maintainer="Benjamin Slade <slade@lambda-y.net>"
license="GPL-3.0-or-later"
homepage="https://www.djcbsoftware.nl/code/mu/"
distfiles="https://github.com/djcb/mu/releases/download/${version}/mu-${version}.tar.xz"
checksum=fe286eebc2d9a2060a67c365aed7dd7a6de1fe104f89da36976d8737200754b6
replaces="mu<${version}"
provides="mu-${version}_${revision}"
pre_configure() {
sed -i 's,-I${prefix}/include,,' contrib/Makefile.am
autoreconf -fi
}