mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-19 07:31:35 +01:00
59 lines
1.6 KiB
Plaintext
59 lines
1.6 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.12.0
|
|
pkgrel=0
|
|
pkgdesc="Small and very powerful text-mode email client"
|
|
url="http://www.mutt.org"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev
|
|
libidn-dev ncurses-dev openssl-dev perl"
|
|
options="suid !check"
|
|
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 \
|
|
--enable-sidebar \
|
|
--with-curses \
|
|
--with-mailpath=/var/spool/mail \
|
|
--with-docdir=/usr/share/doc/$pkgname \
|
|
--without-included-gettext \
|
|
--with-ssl \
|
|
--with-sasl
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
rm -f "$pkgdir"/etc/*.dist \
|
|
"$pkgdir"/etc/mime.types
|
|
|
|
# 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
|
|
}
|
|
|
|
sha512sums="b9482af3bfeb39ab8be7244deda49b56a77cfa15b3dfc7dd2b0ec2d7eba8e32b742b7a254ff64e6827a6f74f563830276bf950e8b2b192d27a1fd6b1df70443c mutt-1.12.0.tar.gz"
|