aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Slade <slade@jnanam.net>2020-06-09 17:23:49 +0000
committerĐoàn Trần Công Danh <congdanhqx@gmail.com>2020-06-10 16:43:39 +0000
commitcd0bcc861a43ae3a4ecd6d2c596bde87a1545aad (patch)
tree5d814d20bcf41408c90b60a7f199e6034a362c83
parentf5417b7b99d6ac72fc4ce6bfccb9ea4a17e5bbde (diff)
downloadvoid-packages-cd0bcc861a43ae3a4ecd6d2c596bde87a1545aad.tar
void-packages-cd0bcc861a43ae3a4ecd6d2c596bde87a1545aad.tar.gz
void-packages-cd0bcc861a43ae3a4ecd6d2c596bde87a1545aad.tar.bz2
void-packages-cd0bcc861a43ae3a4ecd6d2c596bde87a1545aad.tar.lz
void-packages-cd0bcc861a43ae3a4ecd6d2c596bde87a1545aad.tar.xz
void-packages-cd0bcc861a43ae3a4ecd6d2c596bde87a1545aad.tar.zst
void-packages-cd0bcc861a43ae3a4ecd6d2c596bde87a1545aad.zip
mu: update to 1.4.10
sgn: let xbps-src figures out subpackages, make mu4e depends exact version of mu. Closes: #22730
-rw-r--r--srcpkgs/mu/template28
1 files changed, 13 insertions, 15 deletions
diff --git a/srcpkgs/mu/template b/srcpkgs/mu/template
index 3066ef85a5c..320e72cf045 100644
--- a/srcpkgs/mu/template
+++ b/srcpkgs/mu/template
@@ -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