1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
4 pkgname=('msmtp' 'msmtp-mta')
7 pkgdesc="A mini smtp client"
9 url="https://marlam.de/msmtp/"
11 makedepends=('texlive-plainextra' 'libsecret' 'gsasl')
12 source=("https://marlam.de/msmtp/releases/msmtp-$pkgver.tar.xz"{,.sig})
13 sha512sums=('13307bd8004bb7e229193b74f4e736c8462624a4aa1aedbb57421098efb2aa6b8cf1358ebc874a2db48aa6266414b4c6a1673d631356e92c1c538391533e098a'
15 validpgpkeys=('2F61B4828BBA779AECB3F32703A2A4AB1E32FD34') # Martin Lambers
19 ./configure --prefix=/usr --sysconfdir=/etc --with-libgsasl
25 pkgdesc="A mini smtp client"
26 depends=('libsecret' 'gsasl')
29 make DESTDIR="$pkgdir" install
30 make DESTDIR="$pkgdir" -C doc install-html install-pdf
32 # Installing example configs and scripts to /usr/share/doc/msmtp
33 # as they are not installed by default (Debian and Gentoo do it this way)
34 install -d "$pkgdir"/usr/share/doc/msmtp
35 cp -r scripts/{find_alias,msmtpqueue,msmtpq,set_sendmail} "$pkgdir"/usr/share/doc/msmtp/
36 install -D -m644 doc/*.example "$pkgdir"/usr/share/doc/msmtp/
38 install -D -m644 scripts/vim/msmtp.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/msmtp.vim
40 chmod 755 "$pkgdir"/usr/share/doc/msmtp/{find_alias,msmtpqueue,set_sendmail}/*.sh
41 chmod 755 "$pkgdir"/usr/share/doc/msmtp/msmtpq/msmtp*
45 pkgdesc="A mini smtp client - the regular MTA"
47 provides=('smtp-forwarder')
48 conflicts=('smtp-forwarder')
50 install -d "$pkgdir"/usr/bin
51 ln -s msmtp "$pkgdir"/usr/bin/sendmail