summaryrefslogtreecommitdiff
path: root/extra/msmtp/PKGBUILD
blob: 5c36869cef0e055e65ae55fff7e4b99d01d7b72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 108642 2011-02-02 03:35:19Z allan $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Ben Mazer <blm@groknil.org>

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

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 $startdir/pkg/etc/msmtprc
}