diff options
author | José María Alonso Josa <nimiux@gentoo.org> | 2016-02-22 22:39:16 +0100 |
---|---|---|
committer | José María Alonso Josa <nimiux@gentoo.org> | 2016-02-22 22:40:12 +0100 |
commit | 0b099f8f9c2c7c11a48b749fec0ad5a769f6055a (patch) | |
tree | 5467bf608107eecab17039c2006e5cf59c31be59 /app-misc | |
parent | sys-auth/nss-mdns: do not build $ROOT into the source (diff) | |
download | gentoo-0b099f8f9c2c7c11a48b749fec0ad5a769f6055a.tar.gz gentoo-0b099f8f9c2c7c11a48b749fec0ad5a769f6055a.tar.bz2 gentoo-0b099f8f9c2c7c11a48b749fec0ad5a769f6055a.zip |
app-misc/vifm: Bump to version 0.8.1a
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/vifm/Manifest | 1 | ||||
-rw-r--r-- | app-misc/vifm/vifm-0.8.1a.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest index 02657c07ca4a..2eb9af780cf9 100644 --- a/app-misc/vifm/Manifest +++ b/app-misc/vifm/Manifest @@ -1,3 +1,4 @@ DIST vifm-0.7.2.tar.bz2 468086 SHA256 f95e49a8518dd1acc9b7b750658a98bcf1cb538e25520a5a300b5812108fbc8d SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 WHIRLPOOL 9c954dbe659e3303315642738bafb962f6f20820af0fe587b3c525ad7a93aca3f9090fe5d2d871a291ce95c9add81f7d717ae5adbdcbe2a58d2889e0bf3e50dc DIST vifm-0.8.1-beta.tar.bz2 819256 SHA256 e0e3e4d7cc06ac75e4acdd1c03f1b91e433b0df3ef817024e27bdc268f32b80f SHA512 873d6cecb3926395d48a3b56cd7c30f3dee930394c31c520d7eb4f12a6a938c632246b84f271dc98841eebe494fa1cf4b2c36bb560ad95574185dbdd47f888c7 WHIRLPOOL 5cde8d5010b7d96b142a662d9188f82f05ea41eb98372ab4628026bfc209b7afa991bd4fc3d9206c3b8e4cc251a20c056b5d11dff4752528c44c3152d92d5f96 +DIST vifm-0.8.1a.tar.bz2 832500 SHA256 974fb2aa5e32d2c729ceff678c595070c701bd30a6ccc5cb6ca64807a9dd4422 SHA512 3cd182fd52b8695468ceb9cb812b9b4e336c42ce101119c8423028403839d8b04fe2ece6d30830325d374cda93a82f0e1d4f427d5095545fa888a991dfcbc714 WHIRLPOOL 48ce3ca228aacfcaf36a80bb4440dbaf038785919aaeb19e1f069aea5b1a5941de4abfdb02cbc797e9848d0d746a1bd2df3e485d38bc1130de920a42fb01ed4c DIST vifm-0.8.tar.bz2 756795 SHA256 69eb6b50dcf462f4233ff987f0b6a295df08a27bc42577ebef725bfe58dbdeeb SHA512 b4727b7a9f577eb05c4e8830849a00759cbeb35457c8fa533136a0a68124312f2bb8c5c21239fbbd34f567ddaca247ede05e48e72b890bb4f15d12adebc23210 WHIRLPOOL 78d030cc9eda292ce75656eedc3ede3e02c87522517d7b7d49f0e993dbfc438a5b5e0dcf8fed531eeb1e045f01d5418d1e7fbc84cb53da800bb54d7ab4a636d7 diff --git a/app-misc/vifm/vifm-0.8.1a.ebuild b/app-misc/vifm/vifm-0.8.1a.ebuild new file mode 100644 index 000000000000..bec2322fba88 --- /dev/null +++ b/app-misc/vifm/vifm-0.8.1a.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools vim-doc versionator + +DESCRIPTION="Console file manager with vi(m)-like keybindings" +HOMEPAGE="http://vifm.info/" +SRC_URI="mirror://sourceforge/vifm/${PF}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~s390 ~x86" +IUSE="X developer +extended-keys gtk +magic vim vim-syntax" + +DEPEND=" + >=sys-libs/ncurses-5.9-r99:5 + magic? ( sys-apps/file ) + gtk? ( x11-libs/gtk+:2 ) + X? ( x11-libs/libX11 ) +" +RDEPEND=" + ${DEPEND} + vim? ( || ( app-editors/vim app-editors/gvim ) ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +DOCS="AUTHORS FAQ NEWS README TODO" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + $(use_enable developer) \ + $(use_enable extended-keys) \ + $(use_with magic libmagic) \ + $(use_with gtk) \ + $(use_with X X11) +} + +src_compile() { + default +} + +src_install() { + einstall + dodoc ${DOCS} + + if use vim; then + local t + for t in app plugin; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/doc/"${t}"/"${PN}"* + done + fi + + if use vim-syntax; then + local t + for t in ftdetect ftplugin syntax; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/"${t}"/"${PN}".vim + done + fi +} + +src_test() { + emake check +} + +pkg_postinst() { + if use vim; then + update_vim_helptags + + if [[ -n ${REPLACING_VERSIONS} ]]; then + elog + elog "You don't need to copy or link any files for" + elog " the vim plugin and documentation to work anymore." + elog "If you copied any vifm files to ~/.vim/ manually" + elog " in earlier vifm versions, please delete them." + fi + elog + elog "To use vim in vifm to view the documentation" + elog " edit ~/.vifm/vifmrc and set vimhelp instead of novimhelp" + elog + fi +} + +pkg_postrm() { + use vim && update_vim_helptags +} |