[arch-commits] Commit in mutt/repos/extra-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Sep 2 10:00:23 UTC 2020


    Date: Wednesday, September 2, 2020 @ 10:00:23
  Author: dvzrv
Revision: 395132

archrelease: copy trunk to extra-x86_64

Added:
  mutt/repos/extra-x86_64/PKGBUILD
    (from rev 395131, mutt/trunk/PKGBUILD)
Deleted:
  mutt/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-02 10:00:14 UTC (rev 395131)
+++ PKGBUILD	2020-09-02 10:00:23 UTC (rev 395132)
@@ -1,49 +0,0 @@
-# Contributor: tobias [tobias [at] archlinux.org]
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname=mutt
-pkgver=1.14.6
-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=('perl: for smime_keys'
-            'smtp-forwarder: to send mail')
-depends=('gpgme' 'ncurses' 'openssl' 'libsasl' 'gdbm' 'libidn2' 'mime-types' 'krb5')
-validpgpkeys=('8975A9B33AA37910385C5308ADEF768480316BDA')
-source=("https://bitbucket.org/mutt/mutt/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc})
-sha256sums=('47972a0152b81b9f67ff322a0a6682b914c15545bfdeac6bcc2f2c0bf9361844'
-            'SKIP')
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--enable-debug \
-		--enable-gpgme \
-		--enable-pop \
-		--enable-imap \
-		--enable-smtp \
-		--enable-hcache \
-		--enable-sidebar \
-		--enable-autocrypt \
-		--with-curses=/usr \
-		--with-gss=/usr \
-		--with-ssl=/usr \
-		--with-sqlite3 \
-		--with-sasl \
-		--with-idn2 \
-
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-
-	rm "${pkgdir}"/etc/mime.types{,.dist}
-	install -Dm644 contrib/gpg.rc "${pkgdir}"/etc/Muttrc.gpg.dist
-}

Copied: mutt/repos/extra-x86_64/PKGBUILD (from rev 395131, mutt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-02 10:00:23 UTC (rev 395132)
@@ -0,0 +1,59 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: tobias [tobias [at] archlinux.org]
+
+pkgname=mutt
+pkgver=1.14.7
+pkgrel=1
+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')
+optdepends=('perl: for smime_keys'
+            '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')
+validpgpkeys=('8975A9B33AA37910385C5308ADEF768480316BDA') # Kevin J. McCarthy <kevin at 8t8.us>
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --enable-debug \
+              --enable-gpgme \
+              --enable-pop \
+              --enable-imap \
+              --enable-smtp \
+              --enable-hcache \
+              --enable-sidebar \
+              --enable-autocrypt \
+              --with-curses=/usr \
+              --with-gss=/usr \
+              --with-ssl=/usr \
+              --with-sqlite3 \
+              --with-sasl \
+              --with-idn2
+  make
+}
+
+package() {
+  depends+=('libgpgme.so' 'libidn2.so' 'libncursesw.so')
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # /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