mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 18:22:30 +01:00
67 lines
1.9 KiB
Plaintext
67 lines
1.9 KiB
Plaintext
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Contributor: Andrew Manison<amanison@anselsystems.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=mutt
|
|
pkgver=1.6.0
|
|
pkgrel=0
|
|
pkgdesc="a small but very powerful text-mode email client"
|
|
url="http://www.mutt.org"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=""
|
|
depends_dev="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev
|
|
libidn-dev ncurses-dev openssl-dev"
|
|
makedepends="$depends_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
|
|
build() {
|
|
cd "$_builddir"
|
|
ISPELL=/usr/bin/hunspell \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--enable-imap \
|
|
--enable-pop \
|
|
--enable-smtp \
|
|
--enable-hcache \
|
|
--enable-gpgme \
|
|
--with-curses \
|
|
--with-mailpath=/var/spool/mail \
|
|
--with-docdir=/usr/share/doc/$pkgname \
|
|
--without-included-gettext \
|
|
--with-ssl \
|
|
--with-sasl \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
rm "$pkgdir"/etc/*.dist \
|
|
"$pkgdir"/etc/mime.types \
|
|
"$pkgdir"/usr/bin/muttbug \
|
|
"$pkgdir"/usr/bin/flea \
|
|
|| return 1
|
|
|
|
# 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
|
|
}
|
|
|
|
md5sums="d05bb821d7040c61ba89b22d7c2bd388 mutt-1.6.0.tar.gz"
|
|
sha256sums="29afb6238ab7a540c0e3a78ce25c970f975ab6c0f0bc9f919993aab772136c19 mutt-1.6.0.tar.gz"
|
|
sha512sums="601d5f70c7cd30903799714cd85b80f9650a029e621d044075e123656411dde809d5cef24a40ba49860bc242cf4a0b914c703deb5a7125b3a24eeb93f4ae3c4c mutt-1.6.0.tar.gz"
|