mu: update to 1.4.10
sgn: let xbps-src figures out subpackages, make mu4e depends exact version of mu. Closes: #22730
This commit is contained in:
parent
f5417b7b99
commit
cd0bcc861a
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'mu'
|
||||
pkgname=mu
|
||||
version=1.4.9
|
||||
version=1.4.10
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool pkg-config texinfo glib-devel"
|
||||
|
@ -11,15 +11,11 @@ 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=a505b075e3b108318342e58d44f306636d655cb2c90d7fc33eb5c0af55e3f535
|
||||
checksum=4675f14a43b4853e14a3e0892051787d1b82df48ea1bd4375172893676cd7e6d
|
||||
|
||||
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
|
||||
|
||||
|
@ -28,13 +24,15 @@ pre_configure() {
|
|||
autoreconf -fi
|
||||
}
|
||||
|
||||
mu4e_package() {
|
||||
archs=noarch
|
||||
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*
|
||||
if [ ! "$CROSS_BUILD" ]; then
|
||||
mu4e_package() {
|
||||
archs=noarch
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue