void-packages/srcpkgs/mutt-kz/template

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2013-04-24 13:10:50 +02:00
# Template file for 'mutt-kz'
pkgname=mutt-kz
2014-09-03 13:23:35 +02:00
version=20140903
2014-07-22 01:31:30 +02:00
revision=1
2013-04-24 13:10:50 +02: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-gpgme-prefix=${XBPS_CROSS_BASE}/usr
--with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no"
hostmakedepends="perl pkg-config libidn-devel automake git"
2014-07-15 16:34:40 +02:00
makedepends="ncurses-devel libressl-devel libidn-devel gpgme-devel libnotmuch-devel
gdbm-devel mime-types"
depends="notmuch mime-types"
conf_files="/etc/Muttrc"
conflicts="mutt>=0"
2013-04-24 13:10:50 +02:00
short_desc="mutt fork with notmuch support and another improvements"
2014-05-14 21:18:09 +02:00
maintainer="Jan S. <jan.schreib@gmail.com>"
2013-04-24 13:10:50 +02:00
license="GPL-3"
homepage="https://github.com/karelzak/mutt-kz/"
do_fetch() {
# latest commit as of ${version}
2014-09-03 13:23:35 +02:00
_githead=5b1280adbf9daa4ca4a5c092b26bd4d132ae62c1
2013-04-24 13:10:50 +02:00
git clone git://github.com/karelzak/mutt-kz.git ${pkgname}-${version}
cd ${pkgname}-${version}
git reset --hard ${_githead}
2013-04-24 13:10:50 +02: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}
}