Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24525 - [msmtp] Install msmpt.vim syntax file

Attached to Project: Arch Linux
Opened by patrick (brisbin33) - Tuesday, 31 May 2011, 20:37 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 18 June 2011, 03:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Our current msmtp package (1.4.24-1) does not install scripts/vim/msmtp.vim which provides syntax highlighting for the ~/.msmtprc file.

Below please find a PKGBUILD that does this.

Thanks,
Pat

=== PKGBUILD ===
# $Id: PKGBUILD 122860 2011-05-06 19:46:40Z eric $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Ben Mazer <blm@groknil.org>

pkgname=msmtp
pkgver=1.4.24
pkgrel=2
pkgdesc="A mini smtp client"
arch=('i686' 'x86_64')
license=('GPL3')
url="http://msmtp.sourceforge.net"
depends=('gnutls' 'libidn')
provides=('smtp-forwarder')
install=${pkgname}.install
source=(http://download.sourceforge.net/sourceforge/msmtp/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3ed704fbd3e7419cab5c65bb7928d9ba')

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --with-ssl=gnutls
make
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install

# this can not be the default
#install -Dm644 doc/msmtprc-system.example "${pkgdir}"/etc/msmtprc

# add vim syntax file
install -Dm644 scripts/vim/msmtp.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/msmtp.vim
}
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 18 June 2011, 03:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in msmtp-1.4.24-2

Loading...