[arch-commits] Commit in mutt/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Nov 9 12:59:22 UTC 2020


    Date: Monday, November 9, 2020 @ 12:59:22
  Author: dvzrv
Revision: 399713

upgpkg: mutt 2.0.0-1: Upgrade to 2.0.0.

Add a docbook-{xml,xsl}, elinks, lynx and libxslt to makedepends.
Add python to optdepends for (experimental) mutt_oauth2.py.
Switch to current gitlab upstream for source.
Build from signed tag.

Modified:
  mutt/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-09 12:52:18 UTC (rev 399712)
+++ PKGBUILD	2020-11-09 12:59:22 UTC (rev 399713)
@@ -3,32 +3,33 @@
 # Contributor: tobias [tobias [at] archlinux.org]
 
 pkgname=mutt
-pkgver=1.14.7
+pkgver=2.0.0
+_ver=${pkgver%.*}
 pkgrel=1
-pkgdesc='Small but very powerful text-based mail client'
-url='http://www.mutt.org/'
+pkgdesc="Small but very powerful text-based mail client"
+url="http://www.mutt.org/"
 license=('GPL2')
 arch=('x86_64')
 depends=('gdbm' 'glibc' 'libgpg-error' 'openssl' 'libsasl' 'mime-types' 'krb5'
 'sqlite' 'zlib')
-makedepends=('gpgme' 'libidn2' 'ncurses')
+makedepends=('docbook-xml' 'docbook-xsl' 'elinks' 'git' 'gpgme' 'libidn2'
+'lynx' 'ncurses' 'libxslt')
 optdepends=('perl: for smime_keys'
+            'python: for experimental mutt_oath2.py'
             'smtp-forwarder: to send mail')
 backup=('etc/Muttrc')
-source=("https://bitbucket.org/mutt/mutt/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('dc9739b5f0a99ca70fcbd495c71fbead23e3481f9c9e426feb827997c9c42e5f28355084f54788820c96a079dedb649fcc20e69436fb3c4df7e46f372b533e7c'
-            'SKIP')
-b2sums=('f729412d3da97fe9bd76733705317660edfa3858a9eb1012179fb289b03da58d79b6e261dbdc4ab8b001e89ca455e9972bab8f270bac28e887afc7e0bd9fc8c1'
-        'SKIP')
+source=("git+https://gitlab.com/muttmua/${pkgname}.git#tag=${pkgname}-${_ver//./-}-rel?signed")
+sha512sums=('SKIP')
+b2sums=('SKIP')
 validpgpkeys=('8975A9B33AA37910385C5308ADEF768480316BDA') # Kevin J. McCarthy <kevin at 8t8.us>
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}"
   autoreconf -vfi
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}"
   ./configure --prefix=/usr \
               --sysconfdir=/etc \
               --enable-debug \
@@ -50,10 +51,11 @@
 
 package() {
   depends+=('libgpgme.so' 'libidn2.so' 'libncursesw.so')
-  cd "${pkgname}-${pkgver}"
+
+  cd "${pkgname}"
   make DESTDIR="${pkgdir}" install
+  install -vDm 644 contrib/gpg.rc "${pkgdir}/etc/Muttrc.gpg.dist"
 
   # /etc/mime.types is provided by mailcap
   rm "${pkgdir}"/etc/mime.types{,.dist}
-  install -vDm 644 contrib/gpg.rc "${pkgdir}"/etc/Muttrc.gpg.dist
 }



More information about the arch-commits mailing list