void-packages/srcpkgs/mu/template

28 lines
831 B
Bash

# Template build file for 'mu'.
pkgname=mu
version=0.9.15
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config emacs texinfo"
makedepends="xapian-core-devel gmime-devel sqlite-devel libuuid-devel"
short_desc="A tool for dealing with e-mail messages stored in the Maildir-format"
maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
homepage="http://www.djcbsoftware.nl/code/mu/"
license="GPL-3"
distfiles="https://github.com/djcb/mu/archive/${version}.tar.gz"
checksum=60c63fdf1b726696cb0028b86eaee2aa72e171493b2d5626ea173b912ff25d4c
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
}
}