void-packages/srcpkgs/mu4e/template

23 lines
880 B
Bash

# Template file for 'mu4e'
pkgname=mu4e
version=1.8.14
revision=1
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/"
changelog="https://github.com/djcb/mu/raw/master/NEWS.org"
distfiles="https://github.com/djcb/mu/releases/download/v${version}/mu-${version}.tar.xz"
checksum=1a9c5e15b5e8b67622f7e58dfadd453abf232c0b715bd5f89b955e704455219c
replaces="mu<${version}"
provides="mu-${version}_${revision}"
pre_configure() {
sed -i 's,-I${prefix}/include,,' contrib/Makefile.am
autoreconf -fi
}