mutt-kz: multiple improvements.
- bump version to match the day that template has been updated. - conflicts with the mutt pkg. - Remove mime files, which are provided by the mime-types pkg. - Move .dist files to usr/share/examples.
This commit is contained in:
parent
7a0b59dde0
commit
c0778d63d0
1 changed files with 20 additions and 8 deletions
|
@ -1,26 +1,38 @@
|
||||||
# Template file for 'mutt-kz'
|
# Template file for 'mutt-kz'
|
||||||
pkgname=mutt-kz
|
pkgname=mutt-kz
|
||||||
version=20140102
|
version=20140128
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-notmuch --enable-pop --enable-imap --enable-smtp
|
configure_args="--enable-notmuch --enable-pop --enable-imap --enable-smtp
|
||||||
--enable-gpgme --with-idn --with-ssl --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr
|
--enable-gpgme --with-idn --with-ssl --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr
|
||||||
--with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no"
|
--with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no"
|
||||||
hostmakedepends="perl pkg-config libidn-devel automake "
|
hostmakedepends="perl pkg-config libidn-devel automake"
|
||||||
makedepends="ncurses-devel openssl-devel libidn-devel gpgme-devel mime-types libnotmuch-devel"
|
makedepends="ncurses-devel openssl-devel libidn-devel gpgme-devel mime-types libnotmuch-devel"
|
||||||
depends="notmuch mime-types"
|
depends="notmuch mime-types"
|
||||||
conf_files="/etc/Muttrc"
|
conf_files="/etc/Muttrc"
|
||||||
|
conflicts="mutt>=0"
|
||||||
short_desc="mutt fork with notmuch support and another improvements"
|
short_desc="mutt fork with notmuch support and another improvements"
|
||||||
maintainer="pancake <pancake@nopcode.org>"
|
maintainer="pancake <pancake@nopcode.org>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="https://github.com/karelzak/mutt-kz/"
|
homepage="https://github.com/karelzak/mutt-kz/"
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
|
# latest commit as of ${version}
|
||||||
_githead=be196028c755d3ffff184e9781ac933fbacbd562
|
_githead=be196028c755d3ffff184e9781ac933fbacbd562
|
||||||
|
|
||||||
git clone git://github.com/karelzak/mutt-kz.git ${pkgname}-${version}
|
git clone git://github.com/karelzak/mutt-kz.git ${pkgname}-${version}
|
||||||
cd ${pkgname}-${version} ; git reset --hard ${_githead}
|
cd ${pkgname}-${version}
|
||||||
|
git reset --hard ${_githead}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
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}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue