diff options
Diffstat (limited to 'extra/msmtp/PKGBUILD')
-rw-r--r-- | extra/msmtp/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/msmtp/PKGBUILD b/extra/msmtp/PKGBUILD index 9a9245a8c..a0390f9d4 100644 --- a/extra/msmtp/PKGBUILD +++ b/extra/msmtp/PKGBUILD @@ -1,19 +1,24 @@ -# $Id: PKGBUILD 169483 2012-10-22 00:13:27Z eric $ +# $Id: PKGBUILD 183544 2013-04-22 22:24:46Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgbase=msmtp pkgname=('msmtp' 'msmtp-mta') -pkgver=1.4.30 +pkgver=1.4.31 pkgrel=1 arch=('i686' 'x86_64' 'mips64el') license=('GPL3') url="http://msmtp.sourceforge.net" makedepends=('texlive-core' 'gsasl' 'libgnome-keyring') source=(http://download.sourceforge.net/sourceforge/msmtp/${pkgbase}-${pkgver}.tar.bz2) -sha1sums=('fd469bae0c3394b30b771780e62bbd41c4d5d175') +sha1sums=('c0edce1e1951968853f15209c8509699ff9e9ab5') + +prepare() { + cd ${pkgbase}-${pkgver} + sed -i 's|/usr/bin/python|/usr/bin/python2|' scripts/msmtp-gnome-tool/msmtp-gnome-tool.py +} build() { - cd "${srcdir}/${pkgbase}-${pkgver}" + cd ${pkgbase}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --with-ssl=gnutls make make -C doc html pdf @@ -24,7 +29,7 @@ package_msmtp() { depends=('gsasl' 'libgnome-keyring') install=msmtp.install - cd "${srcdir}/${pkgbase}-${pkgver}" + cd ${pkgbase}-${pkgver} make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" -C doc install-html install-pdf |