diff options
author | Chema Alonso Josa <nimiux@gentoo.org> | 2016-08-13 22:50:10 +0200 |
---|---|---|
committer | Chema Alonso Josa <nimiux@gentoo.org> | 2016-08-13 22:50:10 +0200 |
commit | aa99eae308ad1789c36dff527fc343113567657b (patch) | |
tree | 7cb1801db16fc72ad1d4e3fcd087b4d7426dd096 /app-misc/vifm | |
parent | media-libs/hal-flash: Remove old 0.2.0_rc1 (diff) | |
download | gentoo-aa99eae308ad1789c36dff527fc343113567657b.tar.gz gentoo-aa99eae308ad1789c36dff527fc343113567657b.tar.bz2 gentoo-aa99eae308ad1789c36dff527fc343113567657b.zip |
app-misc/vifm: Bump to version 0.8.2
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-misc/vifm')
-rw-r--r-- | app-misc/vifm/Manifest | 1 | ||||
-rw-r--r-- | app-misc/vifm/vifm-0.8.2.ebuild | 96 |
2 files changed, 97 insertions, 0 deletions
diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest index f8d4724d166e..2b053b94db08 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.1a.tar.bz2 832500 SHA256 974fb2aa5e32d2c729ceff678c595070c701bd30a6ccc5cb6ca64807a9dd4422 SHA512 3cd182fd52b8695468ceb9cb812b9b4e336c42ce101119c8423028403839d8b04fe2ece6d30830325d374cda93a82f0e1d4f427d5095545fa888a991dfcbc714 WHIRLPOOL 48ce3ca228aacfcaf36a80bb4440dbaf038785919aaeb19e1f069aea5b1a5941de4abfdb02cbc797e9848d0d746a1bd2df3e485d38bc1130de920a42fb01ed4c +DIST vifm-0.8.2.tar.bz2 892414 SHA256 8b466d766658a24d07fc2039a26fefc6a018f5653684a6035183ca79f02c211f SHA512 e2c9f84b8a24542f7153ef8a27b38ba8c251cb0ded72401f5e93fa92540d51b5c368a73147b9fa4a883dda5f880c1d8585c1b4879d46c0e00dea87eacecfdb25 WHIRLPOOL 26d5ff1249885c3be16d7ea7a09ded43498f60243aa46b5d2b8ed3e0d548b29e305943135bcc50a27cca539a5e3b9e240693b8381bdd9c45737e617641da784c DIST vifm-0.8.tar.bz2 756795 SHA256 69eb6b50dcf462f4233ff987f0b6a295df08a27bc42577ebef725bfe58dbdeeb SHA512 b4727b7a9f577eb05c4e8830849a00759cbeb35457c8fa533136a0a68124312f2bb8c5c21239fbbd34f567ddaca247ede05e48e72b890bb4f15d12adebc23210 WHIRLPOOL 78d030cc9eda292ce75656eedc3ede3e02c87522517d7b7d49f0e993dbfc438a5b5e0dcf8fed531eeb1e045f01d5418d1e7fbc84cb53da800bb54d7ab4a636d7 diff --git a/app-misc/vifm/vifm-0.8.2.ebuild b/app-misc/vifm/vifm-0.8.2.ebuild new file mode 100644 index 000000000000..a4893439203e --- /dev/null +++ b/app-misc/vifm/vifm-0.8.2.ebuild @@ -0,0 +1,96 @@ +# 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-r3:0 + 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() { + sed -i -e '/stat.h/a#include <sys/sysmacros.h>' "${S}/src/modes/file_info.c" \ + || die + 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 +} |