41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Template file for 'mutt-kz'
|
|
pkgname=mutt-kz
|
|
version=20140422
|
|
revision=2
|
|
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"
|
|
makedepends="ncurses-devel openssl-devel libidn-devel gpgme-devel libnotmuch-devel
|
|
gdbm-devel mime-types"
|
|
depends="notmuch mime-types"
|
|
conf_files="/etc/Muttrc"
|
|
conflicts="mutt>=0"
|
|
short_desc="mutt fork with notmuch support and another improvements"
|
|
maintainer="Jan S. <jan.schreib@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="https://github.com/karelzak/mutt-kz/"
|
|
|
|
do_fetch() {
|
|
# latest commit as of ${version}
|
|
_githead=aa8f10c94555e3d142856537c51d43eb0d2449b6
|
|
|
|
git clone git://github.com/karelzak/mutt-kz.git ${pkgname}-${version}
|
|
cd ${pkgname}-${version}
|
|
git reset --hard ${_githead}
|
|
}
|
|
|
|
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}
|
|
}
|