void-packages/srcpkgs/mutt-kz/template

36 lines
1.2 KiB
Bash
Raw Normal View History

2013-04-24 11:10:50 +00:00
# Template file for 'mutt-kz'
pkgname=mutt-kz
2015-05-31 08:29:34 +00:00
reverts=20141129_6
version=1.5.23.1
revision=1
2013-04-24 11:10:50 +00:00
build_style=gnu-configure
configure_args="--enable-notmuch --enable-pop --enable-imap --enable-smtp
--enable-hcache --enable-gpgme --with-regex --with-idn --with-ssl --with-sasl
--with-gpgme-prefix=${XBPS_CROSS_BASE}/usr
--with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no"
2015-05-31 08:29:34 +00:00
hostmakedepends="automake perl pkg-config"
makedepends="ncurses-devel libressl-devel libidn-devel gpgme-devel
libnotmuch-devel gdbm-devel libsasl-devel"
2014-11-29 12:51:06 +00:00
depends="notmuch mime-types"
conf_files="/etc/Muttrc"
2015-05-31 08:29:34 +00:00
short_desc="Mutt (MUA) fork with notmuch support and another improvements"
2014-05-14 19:18:09 +00:00
maintainer="Jan S. <jan.schreib@gmail.com>"
2013-04-24 11:10:50 +00:00
license="GPL-3"
homepage="https://github.com/karelzak/mutt-kz/"
2015-05-31 08:29:34 +00:00
distfiles="https://github.com/karelzak/mutt-kz/archive/v${version}.tar.gz"
checksum=1ffa8f200f7a6d0ecb14a2e791a788f8821e6a0da6668bd90520888e5c866406
2013-04-24 11:10:50 +00:00
provides="mutt-${version}_${revision}"
replaces="mutt>=0"
2013-04-24 11:10:50 +00:00
pre_configure() {
autoreconf -fi
}
post_install() {
# provided by mime-types.
rm ${DESTDIR}/etc/mime.*
# move dist to examples dir.
vmkdir usr/share/examples/${pkgname}
mv ${DESTDIR}/etc/Muttrc.dist ${DESTDIR}/usr/share/examples/${pkgname}
}