diff options
author | José María Alonso Josa <nimiux@gentoo.org> | 2016-01-09 20:50:52 +0100 |
---|---|---|
committer | José María Alonso Josa <nimiux@gentoo.org> | 2016-01-09 20:51:16 +0100 |
commit | a843431ee27b469c0c745cdaa15b256de10d0ddf (patch) | |
tree | f74f8ff206c994488d7d848b221d7903e227c410 /app-misc/vifm | |
parent | x11-misc/kbdd: update to EAPI=5 (diff) | |
download | gentoo-a843431ee27b469c0c745cdaa15b256de10d0ddf.tar.gz gentoo-a843431ee27b469c0c745cdaa15b256de10d0ddf.tar.bz2 gentoo-a843431ee27b469c0c745cdaa15b256de10d0ddf.zip |
app-misc/vifm: bump to version 0.8.1_beta
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-misc/vifm')
-rw-r--r-- | app-misc/vifm/Manifest | 1 | ||||
-rw-r--r-- | app-misc/vifm/vifm-0.8.1_beta.ebuild | 98 |
2 files changed, 99 insertions, 0 deletions
diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest index f0663e6d36d4..1a802b0282d1 100644 --- a/app-misc/vifm/Manifest +++ b/app-misc/vifm/Manifest @@ -1,4 +1,5 @@ DIST vifm-0.7.2.tar.bz2 468086 SHA256 f95e49a8518dd1acc9b7b750658a98bcf1cb538e25520a5a300b5812108fbc8d SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 WHIRLPOOL 9c954dbe659e3303315642738bafb962f6f20820af0fe587b3c525ad7a93aca3f9090fe5d2d871a291ce95c9add81f7d717ae5adbdcbe2a58d2889e0bf3e50dc DIST vifm-0.7.7.tar.bz2 633812 SHA256 0dc0271c016ab2d2017bc3c2389bd2ab747603f1c05f425a8a181f5cdaacd4d1 SHA512 a95ee365a287c06515c5541ce67e609dacb8b8640f0fec5b33bd3794a8f8445fd8052e5bbd42bda0d23f9c5b5e5591978412bcea0c7ceb6ab403fa271e219455 WHIRLPOOL 8faea36324a8cf6c125996170ab87ee58f71cadea4263857d6c89593ceea54a1a2645368718d89ec31daf477bb54c3955275c68e933a5220373a620c10d2df97 DIST vifm-0.7.8.tar.bz2 623154 SHA256 5dfbb26c2038a58dcff12026dab736e29d547b4aa3ff5912e4d844064c9e7603 SHA512 ac70055739aeee915ccf5b22bd497ff691d159d9c0aaa4d38de69db33538a5360c9cabe0678ce51f7bce26adfc5657860d071725a14adf577f263bd180fab676 WHIRLPOOL 899ee45e6ff1ee8a3aa05bed01358c0e95cfad226713597737bd0b5eef8518deefabe9f3eff9ebde91a508818d1fcc2a3bd8ade714da8e91eaf11ac314ae51dd +DIST vifm-0.8.1-beta.tar.bz2 819256 SHA256 e0e3e4d7cc06ac75e4acdd1c03f1b91e433b0df3ef817024e27bdc268f32b80f SHA512 873d6cecb3926395d48a3b56cd7c30f3dee930394c31c520d7eb4f12a6a938c632246b84f271dc98841eebe494fa1cf4b2c36bb560ad95574185dbdd47f888c7 WHIRLPOOL 5cde8d5010b7d96b142a662d9188f82f05ea41eb98372ab4628026bfc209b7afa991bd4fc3d9206c3b8e4cc251a20c056b5d11dff4752528c44c3152d92d5f96 DIST vifm-0.8.tar.bz2 756795 SHA256 69eb6b50dcf462f4233ff987f0b6a295df08a27bc42577ebef725bfe58dbdeeb SHA512 b4727b7a9f577eb05c4e8830849a00759cbeb35457c8fa533136a0a68124312f2bb8c5c21239fbbd34f567ddaca247ede05e48e72b890bb4f15d12adebc23210 WHIRLPOOL 78d030cc9eda292ce75656eedc3ede3e02c87522517d7b7d49f0e993dbfc438a5b5e0dcf8fed531eeb1e045f01d5418d1e7fbc84cb53da800bb54d7ab4a636d7 diff --git a/app-misc/vifm/vifm-0.8.1_beta.ebuild b/app-misc/vifm/vifm-0.8.1_beta.ebuild new file mode 100644 index 000000000000..f72a0efbe4e4 --- /dev/null +++ b/app-misc/vifm/vifm-0.8.1_beta.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools vim-doc versionator + +MY_P=$(replace_version_separator 4 '-' ${PF}) + +DESCRIPTION="Console file manager with vi(m)-like keybindings" +HOMEPAGE="http://vifm.info/" +SRC_URI="mirror://sourceforge/vifm/${MY_P}.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" + +S="${WORKDIR}/${MY_P}" + +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 +} |