# $Id: PKGBUILD 24713 2009-01-20 07:13:54Z tobias $ # Maintainer: tobias # Contributor: Ben Mazer 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 }