neomutt: update to 20171013.
This commit is contained in:
parent
24338dd662
commit
edb9bbd0f3
2 changed files with 13 additions and 42 deletions
2
srcpkgs/neomutt/INSTALL.msg
Normal file
2
srcpkgs/neomutt/INSTALL.msg
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
As of 20171013, neomutt is no longer mutt. System config is in /etc/neomuttrc
|
||||||
|
Due to upstream's choice, we have removed the alternatives for neomutt files.
|
|
@ -1,55 +1,28 @@
|
||||||
# Template file for 'neomutt'
|
# Template file for 'neomutt'
|
||||||
pkgname=neomutt
|
pkgname=neomutt
|
||||||
version=20170912
|
version=20171013
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-pop --enable-imap --enable-smtp --with-gdbm
|
configure_script=./configure.autosetup
|
||||||
--enable-gpgme --with-idn --with-ssl --with-sasl --enable-notmuch --enable-lua
|
configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl"
|
||||||
--enable-sidebar --enable-nfs-fix --sysconfdir=/etc/$pkgname"
|
hostmakedepends="libxslt docbook-xsl w3m"
|
||||||
hostmakedepends="automake"
|
|
||||||
makedepends="ncurses-devel gpgme-devel libidn-devel libressl-devel libsasl-devel
|
makedepends="ncurses-devel gpgme-devel libidn-devel libressl-devel libsasl-devel
|
||||||
gdbm-devel aspell-devel libnotmuch-devel gettext-devel lua-devel"
|
gdbm-devel aspell-devel libnotmuch-devel gettext-devel lua-devel"
|
||||||
depends="mime-types"
|
depends="mime-types"
|
||||||
conf_files="/etc/$pkgname/Muttrc"
|
conf_files="/etc/neomuttrc"
|
||||||
short_desc="Mutt with misc fixes and feature patches"
|
short_desc="Mutt with misc fixes and feature patches"
|
||||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.neomutt.org"
|
homepage="http://www.neomutt.org"
|
||||||
distfiles="https://github.com/neomutt/neomutt/archive/neomutt-${version}.tar.gz"
|
distfiles="https://github.com/neomutt/neomutt/archive/neomutt-${version}.tar.gz"
|
||||||
checksum=9f0d128fe8dbbbddb67e2b629f8b5e52a9d892f82c735845c1708c14e3046657
|
checksum=5a7c6302d623b620db03d923a7cd7cf967123a67fc42c117a0dd4b45612e9a55
|
||||||
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
x86_64-musl) CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1";;
|
x86_64-musl) CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1";;
|
||||||
# Inquiry: Do we have largefile support on everywhere?
|
# Inquiry: Do we have largefile support on everywhere?
|
||||||
esac
|
esac
|
||||||
|
|
||||||
provides="mutt-0_1"
|
|
||||||
# Begin alternatives:
|
|
||||||
alternatives="
|
|
||||||
mutt:mutt:/usr/bin/mutt-$pkgname
|
|
||||||
mutt:pgpewrap:/usr/bin/pgpewrap-$pkgname
|
|
||||||
mutt:flea:/usr/bin/flea-$pkgname
|
|
||||||
mutt:muttbug:/usr/bin/muttbug-$pkgname
|
|
||||||
mutt:smime_keys:/usr/bin/smime_keys-$pkgname
|
|
||||||
|
|
||||||
mutt:pgpewrap.1:/usr/share/man/man1/pgpewrap-${pkgname}.1
|
|
||||||
mutt:flea.1:/usr/share/man/man1/flea-${pkgname}.1
|
|
||||||
mutt:mutt.1:/usr/share/man/man1/mutt-${pkgname}.1
|
|
||||||
mutt:pgpring.1:/usr/share/man/man1/pgpring-${pkgname}.1
|
|
||||||
mutt:muttbug.1:/usr/share/man/man1/muttbug-${pkgname}.1
|
|
||||||
mutt:smime_keys.1:/usr/share/man/man1/smime_keys-${pkgname}.1
|
|
||||||
|
|
||||||
mutt:mbox.5:/usr/share/man/man5/mbox-${pkgname}.5
|
|
||||||
mutt:muttrc.5:/usr/share/man/man5/muttrc-${pkgname}.5
|
|
||||||
mutt:mmdf.5:/usr/share/man/man5/mmdf-${pkgname}.5
|
|
||||||
"
|
|
||||||
# End alternatives
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# provided by mime-types
|
# provided by mime-types
|
||||||
rm "${DESTDIR}"/etc/${pkgname}/mime.*
|
rm "${DESTDIR}"/etc/${pkgname}/mime.*
|
||||||
|
@ -57,14 +30,6 @@ post_install() {
|
||||||
# move dist to examples dir
|
# move dist to examples dir
|
||||||
vsconf contrib/gpg.rc Muttrc.gpg.dist
|
vsconf contrib/gpg.rc Muttrc.gpg.dist
|
||||||
mv "${DESTDIR}/etc/$pkgname/Muttrc.dist" "${DESTDIR}/usr/share/examples/${pkgname}"
|
mv "${DESTDIR}/etc/$pkgname/Muttrc.dist" "${DESTDIR}/usr/share/examples/${pkgname}"
|
||||||
|
|
||||||
# Allows alternatives to work
|
|
||||||
for manpage in "${DESTDIR}"/usr/share/man/man[15]/*; do
|
|
||||||
mv "$manpage" "${manpage%.*}-${pkgname}.${manpage##*.}"
|
|
||||||
done
|
|
||||||
for binary in "${DESTDIR}"/usr/bin/*; do
|
|
||||||
mv "$binary" "${binary}-${pkgname}"
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# REMARKS:
|
# REMARKS:
|
||||||
|
@ -77,3 +42,7 @@ post_install() {
|
||||||
# In version 20160808 keybase integration was added, and lots of new
|
# In version 20160808 keybase integration was added, and lots of new
|
||||||
# documentation now gets installed. Rumors of an /etc/NeoMuttrc are in the
|
# documentation now gets installed. Rumors of an /etc/NeoMuttrc are in the
|
||||||
# release notes but not currently installed for unknown reasons.
|
# release notes but not currently installed for unknown reasons.
|
||||||
|
# As of 20171013, neomutt has hard forked and no longer refers to itself as
|
||||||
|
# "Mutt" anywhere in the codebase. https://www.neomutt.org/2017/10/13/release
|
||||||
|
# /etc/neomuttrc now exists, and there are no conflicts with regular mutt.
|
||||||
|
# Due to this, an install.msg was added and all alternatives were removed.
|
||||||
|
|
Loading…
Reference in a new issue