[arch-commits] Commit in mailutils/repos/community-x86_64 (4 files)

Sergej Pupykin spupykin at archlinux.org
Sun Mar 3 08:51:01 UTC 2019


    Date: Sunday, March 3, 2019 @ 08:51:01
  Author: spupykin
Revision: 437434

archrelease: copy trunk to community-x86_64

Added:
  mailutils/repos/community-x86_64/PKGBUILD
    (from rev 437433, mailutils/trunk/PKGBUILD)
  mailutils/repos/community-x86_64/fix-build-mb-len-max.patch
    (from rev 437433, mailutils/trunk/fix-build-mb-len-max.patch)
Deleted:
  mailutils/repos/community-x86_64/PKGBUILD
  mailutils/repos/community-x86_64/fix-build-mb-len-max.patch

----------------------------+
 PKGBUILD                   |   98 +++++++++++++++++++++----------------------
 fix-build-mb-len-max.patch |   28 ++++++------
 2 files changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-03 08:50:48 UTC (rev 437433)
+++ PKGBUILD	2019-03-03 08:51:01 UTC (rev 437434)
@@ -1,49 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=mailutils
-pkgver=3.5
-pkgrel=3
-pkgdesc="MUA command line tool (mailx)"
-arch=(x86_64)
-url="http://www.gnu.org/software/mailutils/"
-license=('GPL')
-depends=('libldap' 'pam' 'gnutls' 'gsasl')
-makedepends=('emacs')
-options=(!emptydirs)
-validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732')
-source=(https://ftp.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.bz2{,.sig}
-        fix-build-mb-len-max.patch)
-sha512sums=('c27bedafef0c7d51a4999ece414c78b584289fcc17a388b73c9ac391c28243cc65f5504caec99190d83a16623e9d0a9c3bdfa53814179cf118986c33dc53ab29'
-            'SKIP'
-            '48248bfae1cc3b80c3decfcb99f803b65fd0d068f6c09625eb5e3763b3184090d7bd97fa3bc916b3e2e8c737b2bd501aa25482a96aceb555c08307b54c2a24a8')
-
-prepare() {
-  cd "$srcdir/mailutils-$pkgver"
-  # Include limits.h in frm/frm.h so it doesn't misdefine MB_LEN_MAX to 4
-  # (patch from github.com/NixOS/nixpkgs)
-  patch -Np1 -i ../fix-build-mb-len-max.patch
-}
-
-build() {
-  cd "$srcdir/mailutils-$pkgver"
-  ./configure \
-	--prefix=/usr \
-	--sbindir=/usr/bin \
-	--libexecdir=/usr/lib/$pkgname \
-	--sysconfdir=/etc \
-	--with-gdbm \
-	--with-gnutls \
-	--disable-python \
-	--without-guile
-  make CFLAGS="$CFLAGS -O2" || make CFLAGS="$CFLAGS -O2" LDFLAGS="-L`pwd`/lib -lmutcpwrap -ltinfo"
-}
-
-package() {
-  cd "$srcdir/mailutils-$pkgver"
-  make -j1 DESTDIR="$pkgdir" install
-  rm -f "$pkgdir"/usr/share/info/dir
-  mv "$pkgdir"/usr/bin/mail "$pkgdir"/usr/bin/gnu-mail
-  mv "$pkgdir"/usr/share/man/man1/mail.1 "$pkgdir"/usr/share/man/man1/gnu-mail.1
-  chown -R root:root "$pkgdir"
-}

Copied: mailutils/repos/community-x86_64/PKGBUILD (from rev 437433, mailutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-03 08:51:01 UTC (rev 437434)
@@ -0,0 +1,49 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=mailutils
+pkgver=3.6
+pkgrel=1
+pkgdesc="MUA command line tool (mailx)"
+arch=(x86_64)
+url="http://www.gnu.org/software/mailutils/"
+license=('GPL')
+depends=('libldap' 'pam' 'gnutls' 'gsasl')
+makedepends=('emacs')
+options=(!emptydirs)
+validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732')
+source=(https://ftp.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.bz2{,.sig}
+        fix-build-mb-len-max.patch)
+sha512sums=('f3167f8ad48042da6257568bcea8e9e9a91af0f716edc43e54f797aaf5d401c0ad0b6af42bedd0f6b3a83a9df68d8632471f97e02282e6d5ce2151ebf7ecf00d'
+            'SKIP'
+            '48248bfae1cc3b80c3decfcb99f803b65fd0d068f6c09625eb5e3763b3184090d7bd97fa3bc916b3e2e8c737b2bd501aa25482a96aceb555c08307b54c2a24a8')
+
+prepare() {
+  cd "$srcdir/mailutils-$pkgver"
+  # Include limits.h in frm/frm.h so it doesn't misdefine MB_LEN_MAX to 4
+  # (patch from github.com/NixOS/nixpkgs)
+  patch -Np1 -i ../fix-build-mb-len-max.patch
+}
+
+build() {
+  cd "$srcdir/mailutils-$pkgver"
+  ./configure \
+	--prefix=/usr \
+	--sbindir=/usr/bin \
+	--libexecdir=/usr/lib/$pkgname \
+	--sysconfdir=/etc \
+	--with-gdbm \
+	--with-gnutls \
+	--disable-python \
+	--without-guile
+  make CFLAGS="$CFLAGS -O2" || make CFLAGS="$CFLAGS -O2" LDFLAGS="-L`pwd`/lib -lmutcpwrap -ltinfo"
+}
+
+package() {
+  cd "$srcdir/mailutils-$pkgver"
+  make -j1 DESTDIR="$pkgdir" install
+  rm -f "$pkgdir"/usr/share/info/dir
+  mv "$pkgdir"/usr/bin/mail "$pkgdir"/usr/bin/gnu-mail
+  mv "$pkgdir"/usr/share/man/man1/mail.1 "$pkgdir"/usr/share/man/man1/gnu-mail.1
+  chown -R root:root "$pkgdir"
+}

Deleted: fix-build-mb-len-max.patch
===================================================================
--- fix-build-mb-len-max.patch	2019-03-03 08:50:48 UTC (rev 437433)
+++ fix-build-mb-len-max.patch	2019-03-03 08:51:01 UTC (rev 437434)
@@ -1,14 +0,0 @@
-diff --git a/frm/frm.h b/frm/frm.h
-index 178b87d54..7931faada 100644
---- a/frm/frm.h
-+++ b/frm/frm.h
-@@ -34,6 +34,9 @@
- #ifdef HAVE_ICONV_H
- # include <iconv.h>
- #endif
-+#ifdef HAVE_LIMITS_H
-+# include <limits.h>
-+#endif
- #ifndef MB_LEN_MAX
- # define MB_LEN_MAX 4
- #endif

Copied: mailutils/repos/community-x86_64/fix-build-mb-len-max.patch (from rev 437433, mailutils/trunk/fix-build-mb-len-max.patch)
===================================================================
--- fix-build-mb-len-max.patch	                        (rev 0)
+++ fix-build-mb-len-max.patch	2019-03-03 08:51:01 UTC (rev 437434)
@@ -0,0 +1,14 @@
+diff --git a/frm/frm.h b/frm/frm.h
+index 178b87d54..7931faada 100644
+--- a/frm/frm.h
++++ b/frm/frm.h
+@@ -34,6 +34,9 @@
+ #ifdef HAVE_ICONV_H
+ # include <iconv.h>
+ #endif
++#ifdef HAVE_LIMITS_H
++# include <limits.h>
++#endif
+ #ifndef MB_LEN_MAX
+ # define MB_LEN_MAX 4
+ #endif


More information about the arch-commits mailing list