Date: Friday, January 5, 2018 @ 02:55:03
  Author: felixonmars
Revision: 314065

archrelease: copy trunk to staging-x86_64

Added:
  mutt/repos/staging-x86_64/
  mutt/repos/staging-x86_64/PKGBUILD
    (from rev 314064, mutt/trunk/PKGBUILD)

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Copied: mutt/repos/staging-x86_64/PKGBUILD (from rev 314064, 
mutt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2018-01-05 02:55:03 UTC (rev 314065)
@@ -0,0 +1,49 @@
+# $Id$
+# Contributor: tobias [tobias [at] archlinux.org]
+# Maintainer: Gaetan Bisson <[email protected]>
+
+pkgname=mutt
+pkgver=1.9.2
+pkgrel=2
+pkgdesc='Small but very powerful text-based mail client'
+url='http://www.mutt.org/'
+license=('GPL')
+backup=('etc/Muttrc')
+arch=('x86_64')
+optdepends=('smtp-forwarder: to send mail')
+depends=('gpgme' 'ncurses' 'openssl' 'libsasl' 'gdbm' 'libidn' 'mime-types' 
'krb5')
+source=("http://ftp.mutt.org/pub/mutt/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('3e35f3d27f1444bcee38e98fe62d41c7fa5b56ac9d5010b1c2cbf034c1e707491a09ccc7387b8d90d8c6c7150edf1d9093fec981d348cf9495313859d373b339'
+            'SKIP')
+validpgpkeys=('8975A9B33AA37910385C5308ADEF768480316BDA')
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./configure \
+               --prefix=/usr \
+               --sysconfdir=/etc \
+               --enable-gpgme \
+               --enable-pop \
+               --enable-imap \
+               --enable-smtp \
+               --enable-hcache \
+               --enable-sidebar \
+               --with-curses=/usr \
+               --with-regex \
+               --with-gss=/usr \
+               --with-ssl=/usr \
+               --with-sasl \
+               --with-idn \
+
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+
+       rm "${pkgdir}"/etc/mime.types{,.dist}
+       rm "${pkgdir}"/usr/bin/{flea,muttbug}
+       rm "${pkgdir}"/usr/share/man/man1/{flea,muttbug}.1
+       install -Dm644 contrib/gpg.rc "${pkgdir}"/etc/Muttrc.gpg.dist
+}

Reply via email to