void-packages/srcpkgs/mutt/template

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2013-11-18 23:47:33 +01:00
# Template file for 'mutt'
pkgname=mutt
2014-03-13 09:06:53 +01:00
version=1.5.23
2014-05-26 13:13:26 +02:00
revision=2
2013-11-18 23:47:33 +01:00
build_style=gnu-configure
configure_args="--enable-pop --enable-imap --enable-smtp
--enable-gpgme --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"
makedepends="ncurses-devel openssl-devel libidn-devel gpgme-devel mime-types"
depends="mime-types"
conf_files="/etc/Muttrc"
2013-11-18 23:47:33 +01:00
short_desc="The Mutt Mail Client"
maintainer="Jan S. <jan.schreib@gmail.com>"
license="GPL-2"
homepage="http://www.mutt.org"
2014-05-26 13:13:26 +02:00
distfiles="https://bitbucket.org/${pkgname}/${pkgname}/downloads/${pkgname}-${version}.tar.gz"
2014-03-13 09:06:53 +01:00
checksum=3af0701e57b9e1880ed3a0dee34498a228939e854a16cdccd24e5e502626fd37
2013-11-18 23:47:33 +01:00
pre_build() {
find -name Makefile -exec sed \
-e 's,-I/usr/include,,g' \
-e 's,${prefix}/include,,g' -i {} \;
}
post_install() {
rm ${DESTDIR}/etc/Muttrc.dist
rm ${DESTDIR}/etc/mime.types{,.dist}
rm ${DESTDIR}/usr/bin/{flea,muttbug}
rm ${DESTDIR}/usr/share/man/man1/{flea,muttbug}.1
vinstall contrib/gpg.rc 644 etc Muttrc.gpg.dist
}