Subject: [alpine-aports] [PATCH] main/mutt: Upgrade to 1.7.2. Modernize APKBUILD.

From: Przemyslaw Pawelczyk <[email-masked]>
Date: Sun, 11 Dec 2016 22:57:22 +0100

mutt 1.7.2 is a bug-fix release, primarily fixing build issues with
OpenSSL 1.1 and GPGME 1.8.
---
 main/mutt/APKBUILD | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/main/mutt/APKBUILD b/main/mutt/APKBUILD
index d161d3c31e66..3de7f366329d 100644
--- a/main/mutt/APKBUILD
+++ b/main/mutt/APKBUILD
@@ -2,24 +2,22 @@
 # Contributor: Andrew Manison<[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=mutt
-pkgver=1.7.1
-pkgrel=1
+pkgver=1.7.2
+pkgrel=0
 pkgdesc="a small but very powerful text-mode email client"
 url="http://www.mutt.org"
 arch="all"
 license="GPL"
-depends=""
-depends_dev=""
 makedepends="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev
 	libidn-dev ncurses-dev libressl-dev perl"
-install=""
 options="suid"
 subpackages="$pkgname-doc $pkgname-lang"
 source="https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz"
 
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
+
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	ISPELL=/usr/bin/hunspell \
 	./configure \
 		--build=$CBUILD \
@@ -45,7 +43,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install
 
 	rm "$pkgdir"/etc/*.dist \
@@ -62,6 +60,6 @@ package() {
 		"$pkgdir"/etc/Muttrc.gpg.dist || return 1
 }
 
-md5sums="04ae5b20cee7d746a246968e4a8cb9fa  mutt-1.7.1.tar.gz"
-sha256sums="e9c6f88e83d48690033f0d862a70293ac746286b77241554f5448bc23bd0d6df  mutt-1.7.1.tar.gz"
-sha512sums="c0b0be7ba792ecf42bb63c31aa03889b4998474a7cac9a839df3041b0bb72766da140bbb38e70eab5f78f4503d684c9c20620c599c0970ec6933624d22f4613d  mutt-1.7.1.tar.gz"
+md5sums="15425c4c9946d58c22ccb44901544e6d  mutt-1.7.2.tar.gz"
+sha256sums="1553501687cd22d5b8aaee4dc5a7d9dcf6cc61d7956f6aabaadd252d10cd5ff9  mutt-1.7.2.tar.gz"
+sha512sums="5f13cbdf802bca80668b2f54bc66201d01bfe34c7f377b1bad88f8fa0e0c695264ff0bf6b64ae9bb6f5a3e22b6f096d2dd99fa36724937609f6f46e6a74da74e  mutt-1.7.2.tar.gz"
-- 
2.8.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---