38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Template file for 'mu'
|
|
pkgname=mu
|
|
version=1.4.15
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config texinfo glib-devel"
|
|
makedepends="xapian-core-devel gmime3-devel libuuid-devel"
|
|
checkdepends="tzdata"
|
|
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="https://www.djcbsoftware.nl/code/mu/"
|
|
distfiles="https://github.com/djcb/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=f7524e17de09470d1369bc1b3959b1f8ac1286eff2d442db33f8355726f8342a
|
|
|
|
if [ ! "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" emacs"
|
|
else
|
|
configure_args+=" --disable-mu4e"
|
|
fi
|
|
|
|
pre_configure() {
|
|
sed -i 's,-I${prefix}/include,,' contrib/Makefile.am
|
|
autoreconf -fi
|
|
}
|
|
|
|
if [ ! "$CROSS_BUILD" ]; then
|
|
mu4e_package() {
|
|
short_desc+=" - Emacs frontend"
|
|
depends="${sourcepkg}-${version}_${revision} emacs"
|
|
pkg_install() {
|
|
vmove usr/share/emacs
|
|
vmove usr/share/info
|
|
vmove usr/share/doc/mu/mu4e*
|
|
}
|
|
}
|
|
fi
|