void-packages/srcpkgs/mu/template
Benjamin Slade 9c74d1f66e mu: revbump for musl repo
Closes: #6404 [via git-merge-pr]
2017-05-17 06:19:34 +00:00

27 lines
809 B
Bash

# Template build file for 'mu'.
pkgname=mu
version=0.9.18
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config emacs texinfo"
makedepends="xapian-core-devel gmime-devel libuuid-devel"
short_desc="A tool for dealing with e-mail messages stored in the Maildir-format"
maintainer="Benjamin Slade <slade@jnanam.net>"
homepage="http://www.djcbsoftware.nl/code/mu/"
license="GPL-3"
distfiles="https://github.com/djcb/mu/archive/${version}.tar.gz"
checksum=8dd35ab52774c4595077570e730989a2ef329204cd677ad1085f43cc1b89dc3d
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
}
}