summaryrefslogtreecommitdiff
path: root/extra/msmtp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
committerroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
commitc80552b41838a5668458ebb1eb9b0f44ea6fe879 (patch)
treed8404bc10128ad69e29c762d116434876e5885a7 /extra/msmtp/PKGBUILD
parente96f6ac6e912185a495a99af2b0d51b73bd1d044 (diff)
Sat Jun 18 23:03:19 UTC 2011
Diffstat (limited to 'extra/msmtp/PKGBUILD')
-rw-r--r--extra/msmtp/PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/extra/msmtp/PKGBUILD b/extra/msmtp/PKGBUILD
index 3e5e72eda..8975dc93b 100644
--- a/extra/msmtp/PKGBUILD
+++ b/extra/msmtp/PKGBUILD
@@ -1,17 +1,18 @@
-# $Id: PKGBUILD 122860 2011-05-06 19:46:40Z eric $
+# $Id: PKGBUILD 127745 2011-06-18 02:59:47Z eric $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Ben Mazer <blm@groknil.org>
pkgname=msmtp
pkgver=1.4.24
-pkgrel=1
+pkgrel=2
pkgdesc="A mini smtp client"
arch=('i686' 'x86_64')
license=('GPL3')
url="http://msmtp.sourceforge.net"
depends=('gnutls' 'libidn')
+makedepends=('texlive-core')
provides=('smtp-forwarder')
-install=${pkgname}.install
+install=msmtp.install
source=(http://download.sourceforge.net/sourceforge/msmtp/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3ed704fbd3e7419cab5c65bb7928d9ba')
@@ -19,12 +20,19 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --with-ssl=gnutls
make
+ make -C doc html pdf
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" -C doc install-html install-pdf
- # this can not be the default
- #install -Dm644 doc/msmtprc-system.example "${pkgdir}"/etc/msmtprc
+# Installing example configs and scripts to /usr/share/doc/msmtp
+# as they are not installed by default (Debian and Gentoo do it this way)
+ install -d "${pkgdir}/usr/share/doc/msmtp"
+ cp -r scripts/{find_alias,msmtp-gnome-tool,msmtpqueue,msmtpq,set_sendmail} "${pkgdir}/usr/share/doc/msmtp/"
+ install -D -m644 doc/*.example "${pkgdir}/usr/share/doc/msmtp/"
+
+ install -D -m644 scripts/vim/msmtp.vim "${pkgdir}/usr/share/vim/vimfiles/syntax/msmtp.vim"
}