Commit db7ded59 authored by Sören Tempel's avatar Sören Tempel

main/mutt: upgrade to 1.8.1, modernize APKBUILD

parent 68368249
......@@ -2,7 +2,7 @@
# Contributor: Andrew Manison<amanison@anselsystems.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mutt
pkgver=1.8.0
pkgver=1.8.1
pkgrel=0
pkgdesc="a small but very powerful text-mode email client"
url="http://www.mutt.org"
......@@ -10,7 +10,7 @@ arch="all"
license="GPL"
makedepends="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev
libidn-dev ncurses-dev libressl-dev perl"
options="suid"
options="suid !check"
subpackages="$pkgname-doc $pkgname-lang"
source="https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
......@@ -36,9 +36,8 @@ build() {
--with-docdir=/usr/share/doc/$pkgname \
--without-included-gettext \
--with-ssl \
--with-sasl \
|| return 1
make || return 1
--with-sasl
make
}
package() {
......@@ -48,15 +47,14 @@ package() {
rm "$pkgdir"/etc/*.dist \
"$pkgdir"/etc/mime.types \
"$pkgdir"/usr/bin/muttbug \
"$pkgdir"/usr/bin/flea \
|| return 1
"$pkgdir"/usr/bin/flea
# Don't tamper with the global configuration file.
# Many options set in the global config cannot be
# overwritten in the users configuration file.
# Example: Resetting colors isn't possible.
install -Dm644 contrib/gpg.rc \
"$pkgdir"/etc/Muttrc.gpg.dist || return 1
"$pkgdir"/etc/Muttrc.gpg.dist
}
sha512sums="20120baa1d6c528281ba02faf8f19a3cbe3fce5bb5907a3513d3ec98592cd63db2b5f02884002c45dc18a4947d5cf2ac30e2ca4e059ad7a37ca0b22734e3bf1d mutt-1.8.0.tar.gz"
sha512sums="5d695212560266aa16f2a547305bc6cd1a1ee7b10bfac9c45b5a8f7b5dfc16b8c288f5229bdf38167a77c44952bf353d93def5b928001ec4982e018f8c1a3e7a mutt-1.8.1.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment