mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
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
This commit is contained in:
parent
89c499e32b
commit
772d28dae1
3 changed files with 22 additions and 37 deletions
|
@ -1,36 +0,0 @@
|
||||||
# Template file for 'mu'
|
|
||||||
pkgname=mu
|
|
||||||
version=1.6.1
|
|
||||||
revision=1
|
|
||||||
build_style=gnu-configure
|
|
||||||
hostmakedepends="automake libtool pkg-config texinfo glib-devel"
|
|
||||||
makedepends="xapian-core-devel gmime3-devel libuuid-devel"
|
|
||||||
short_desc="Emacs-based tool for dealing with e-mail stored in the Maildir-format"
|
|
||||||
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/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
|
||||||
checksum=1c9ca62c50f1f087c15aa94c6c02d206a7f297b7903dfdf67e1ced4460d7c784
|
|
||||||
|
|
||||||
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
|
|
|
@ -1 +0,0 @@
|
||||||
mu
|
|
22
srcpkgs/mu4e/template
Normal file
22
srcpkgs/mu4e/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue