mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
mu: update to 1.4.1
While we're at it, partial cross build. Co-authored-by: Benjamin Slade <slade@jnanam.net> Closes: #21131
This commit is contained in:
parent
b74e746f8a
commit
604404eec2
1 changed files with 18 additions and 6 deletions
|
@ -1,17 +1,27 @@
|
||||||
# Template file for 'mu'
|
# Template file for 'mu'
|
||||||
pkgname=mu
|
pkgname=mu
|
||||||
reverts="1.3.1_1"
|
version=1.4.1
|
||||||
version=1.2
|
revision=1
|
||||||
revision=2
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config emacs texinfo"
|
hostmakedepends="automake libtool pkg-config texinfo glib-devel"
|
||||||
makedepends="xapian-core-devel gmime3-devel libuuid-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"
|
short_desc="Emacs-based tool for dealing with e-mail stored in the Maildir-format"
|
||||||
maintainer="Benjamin Slade <slade@jnanam.net>"
|
maintainer="Benjamin Slade <slade@jnanam.net>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://www.djcbsoftware.nl/code/mu/"
|
homepage="https://www.djcbsoftware.nl/code/mu/"
|
||||||
distfiles="https://github.com/djcb/mu/archive/${version}.tar.gz"
|
distfiles="https://github.com/djcb/mu/archive/${version}.tar.gz"
|
||||||
checksum=75ac379ddbaa35ab54035b057bf729537afbef09c71505c2f7209826265e049a
|
checksum=66ae911abb3d7269514fada08e7a13ad61a205e10209055c41df2f9d17568274
|
||||||
|
|
||||||
|
if [ ! "$CROSS_BUILD" ]; then
|
||||||
|
subpackages="mu4e"
|
||||||
|
hostmakedepends+=" emacs"
|
||||||
|
else
|
||||||
|
# force subpackages to non-empty value,
|
||||||
|
# else xbps-src will generate it.
|
||||||
|
subpackages=" "
|
||||||
|
configure_args+=" --disable-mu4e"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's,-I${prefix}/include,,' contrib/Makefile.am
|
sed -i 's,-I${prefix}/include,,' contrib/Makefile.am
|
||||||
|
@ -19,10 +29,12 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mu4e_package() {
|
mu4e_package() {
|
||||||
|
archs=noarch
|
||||||
short_desc+=" - Emacs frontend"
|
short_desc+=" - Emacs frontend"
|
||||||
depends="${sourcepkg}>=${version}_${revision} emacs"
|
depends="${sourcepkg}>=${version}_${revision} emacs"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share/emacs
|
vmove usr/share/emacs
|
||||||
vmove usr/share/info
|
vmove usr/share/info
|
||||||
|
vmove usr/share/doc/mu/mu4e*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue