[arch-commits] Commit in msmtp/repos (6 files)

Eric Bélanger eric at archlinux.org
Wed Mar 21 06:27:24 UTC 2012


    Date: Wednesday, March 21, 2012 @ 02:27:24
  Author: eric
Revision: 153973

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  msmtp/repos/testing-i686/
  msmtp/repos/testing-i686/PKGBUILD
    (from rev 153972, msmtp/trunk/PKGBUILD)
  msmtp/repos/testing-i686/msmtp.install
    (from rev 153972, msmtp/trunk/msmtp.install)
  msmtp/repos/testing-x86_64/
  msmtp/repos/testing-x86_64/PKGBUILD
    (from rev 153972, msmtp/trunk/PKGBUILD)
  msmtp/repos/testing-x86_64/msmtp.install
    (from rev 153972, msmtp/trunk/msmtp.install)

------------------------------+
 testing-i686/PKGBUILD        |   48 +++++++++++++++++++++++++++++++++++++++++
 testing-i686/msmtp.install   |   20 +++++++++++++++++
 testing-x86_64/PKGBUILD      |   48 +++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/msmtp.install |   20 +++++++++++++++++
 4 files changed, 136 insertions(+)

Copied: msmtp/repos/testing-i686/PKGBUILD (from rev 153972, msmtp/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-03-21 06:27:24 UTC (rev 153973)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: Ben Mazer <blm at groknil.org>
+
+pkgbase=msmtp
+pkgname=('msmtp' 'msmtp-mta')
+pkgver=1.4.27
+pkgrel=2
+arch=('i686' 'x86_64')
+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=('e335745133b4729fe84c49f836b4d2fa9281e040')
+
+build() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc --with-ssl=gnutls
+  make
+  make -C doc html pdf
+}
+
+package_msmtp() {
+  pkgdesc="A mini smtp client"
+  depends=('gsasl' 'libgnome-keyring')
+  install=msmtp.install
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make DESTDIR="${pkgdir}" install 
+  make DESTDIR="${pkgdir}" -C doc install-html install-pdf
+
+# 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"
+}
+
+package_msmtp-mta() {
+  pkgdesc="A mini smtp client - the regular MTA"
+  depends=('msmtp')
+  provides=('smtp-forwarder')
+
+  install -d "${pkgdir}/usr/sbin"
+  ln -s /usr/bin/msmtp "${pkgdir}/usr/sbin/sendmail"
+}

Copied: msmtp/repos/testing-i686/msmtp.install (from rev 153972, msmtp/trunk/msmtp.install)
===================================================================
--- testing-i686/msmtp.install	                        (rev 0)
+++ testing-i686/msmtp.install	2012-03-21 06:27:24 UTC (rev 153973)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(msmtp.info)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:

Copied: msmtp/repos/testing-x86_64/PKGBUILD (from rev 153972, msmtp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-03-21 06:27:24 UTC (rev 153973)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: Ben Mazer <blm at groknil.org>
+
+pkgbase=msmtp
+pkgname=('msmtp' 'msmtp-mta')
+pkgver=1.4.27
+pkgrel=2
+arch=('i686' 'x86_64')
+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=('e335745133b4729fe84c49f836b4d2fa9281e040')
+
+build() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc --with-ssl=gnutls
+  make
+  make -C doc html pdf
+}
+
+package_msmtp() {
+  pkgdesc="A mini smtp client"
+  depends=('gsasl' 'libgnome-keyring')
+  install=msmtp.install
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make DESTDIR="${pkgdir}" install 
+  make DESTDIR="${pkgdir}" -C doc install-html install-pdf
+
+# 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"
+}
+
+package_msmtp-mta() {
+  pkgdesc="A mini smtp client - the regular MTA"
+  depends=('msmtp')
+  provides=('smtp-forwarder')
+
+  install -d "${pkgdir}/usr/sbin"
+  ln -s /usr/bin/msmtp "${pkgdir}/usr/sbin/sendmail"
+}

Copied: msmtp/repos/testing-x86_64/msmtp.install (from rev 153972, msmtp/trunk/msmtp.install)
===================================================================
--- testing-x86_64/msmtp.install	                        (rev 0)
+++ testing-x86_64/msmtp.install	2012-03-21 06:27:24 UTC (rev 153973)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(msmtp.info)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list