2013-04-24 13:10:50 +02:00
|
|
|
# Template file for 'mutt-kz'
|
|
|
|
pkgname=mutt-kz
|
2014-05-18 02:40:55 +02:00
|
|
|
version=20140514
|
|
|
|
revision=1
|
2013-04-24 13:10:50 +02:00
|
|
|
build_style=gnu-configure
|
2014-01-28 01:49:55 +01:00
|
|
|
configure_args="--enable-notmuch --enable-pop --enable-imap --enable-smtp
|
2014-05-14 14:58:58 +02:00
|
|
|
--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"
|
2014-01-28 07:57:22 +01:00
|
|
|
hostmakedepends="perl pkg-config libidn-devel automake"
|
2014-05-14 16:15:57 +02:00
|
|
|
makedepends="ncurses-devel openssl-devel libidn-devel gpgme-devel libnotmuch-devel
|
2014-05-14 14:58:58 +02:00
|
|
|
gdbm-devel mime-types"
|
2014-01-28 07:57:22 +01:00
|
|
|
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() {
|
2014-01-28 07:57:22 +01:00
|
|
|
# latest commit as of ${version}
|
2014-05-18 02:40:55 +02:00
|
|
|
_githead=d3556892bc29e14f253b3882280a0293e0f0dd99
|
2014-01-28 07:57:22 +01:00
|
|
|
|
2013-04-24 13:10:50 +02:00
|
|
|
git clone git://github.com/karelzak/mutt-kz.git ${pkgname}-${version}
|
2014-01-28 07:57:22 +01:00
|
|
|
cd ${pkgname}-${version}
|
|
|
|
git reset --hard ${_githead}
|
2013-04-24 13:10:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2014-01-28 07:57:22 +01:00
|
|
|
|
|
|
|
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}
|
|
|
|
}
|