PKGBUILDs/extra/msmtp/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
802 B
Bash

# $Id: PKGBUILD 24713 2009-01-20 07:13:54Z tobias $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Ben Mazer <blm@groknil.org>
pkgname=msmtp
pkgver=1.4.17
pkgrel=1
pkgdesc="a mini smtp client"
arch=(i686 x86_64)
license=('GPL2')
url="http://msmtp.sourceforge.net"
depends=('gnutls>=2.4.1' 'libidn')
provides=('smtp-forwarder')
source=(http://download.sourceforge.net/sourceforge/msmtp/${pkgname}-${pkgver}.tar.bz2)
install=${pkgname}.install
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --with-ssl=gnutls || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
rm -f ${startdir}/pkg/usr/share/info/dir
# this can not be the default
#install -Dm644 doc/msmtprc-system.example $startdir/pkg/etc/msmtprc
}