summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2017-06-20 17:00:24 +0200
committerChema Alonso Josa <nimiux@gentoo.org>2017-06-20 17:00:57 +0200
commit2a77fb2ed99c040944e4bf9c2c575dfd6924f981 (patch)
treeafa1b5fb12730a1551ee2d7758e63e832f27d318 /app-misc
parentdev-libs/expat-2.2.1-r0: add alpha keyword (diff)
downloadgentoo-2a77fb2ed99c040944e4bf9c2c575dfd6924f981.tar.gz
gentoo-2a77fb2ed99c040944e4bf9c2c575dfd6924f981.tar.bz2
gentoo-2a77fb2ed99c040944e4bf9c2c575dfd6924f981.zip
app-misc/vifm: Bumps version to 0.9
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/vifm/Manifest1
-rw-r--r--app-misc/vifm/vifm-0.9.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest
index 516280236661..c2846e62012a 100644
--- a/app-misc/vifm/Manifest
+++ b/app-misc/vifm/Manifest
@@ -1,2 +1,3 @@
DIST vifm-0.7.2.tar.bz2 468086 SHA256 f95e49a8518dd1acc9b7b750658a98bcf1cb538e25520a5a300b5812108fbc8d SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 WHIRLPOOL 9c954dbe659e3303315642738bafb962f6f20820af0fe587b3c525ad7a93aca3f9090fe5d2d871a291ce95c9add81f7d717ae5adbdcbe2a58d2889e0bf3e50dc
DIST vifm-0.8.2.tar.bz2 892414 SHA256 8b466d766658a24d07fc2039a26fefc6a018f5653684a6035183ca79f02c211f SHA512 e2c9f84b8a24542f7153ef8a27b38ba8c251cb0ded72401f5e93fa92540d51b5c368a73147b9fa4a883dda5f880c1d8585c1b4879d46c0e00dea87eacecfdb25 WHIRLPOOL 26d5ff1249885c3be16d7ea7a09ded43498f60243aa46b5d2b8ed3e0d548b29e305943135bcc50a27cca539a5e3b9e240693b8381bdd9c45737e617641da784c
+DIST vifm-0.9.tar.bz2 971539 SHA256 ab10c99d1e4c24ff8a03c20be1c202cc15874750cc47a1614e6fe4f8d816a7fd SHA512 5ae2b03e672bd9a7f95a5c59141dabac8bc7946a4e307d6a3df70bdb52e1f7665b960a3d20709c811cbfbcf76f7836d23b5edb191968e5277fb705a291ab3a9a WHIRLPOOL c8990508f817fba4ceb6ea95e04da89b601faeb4bece63a9cea187d096f0d711807f820ffae5a1269d5a5f93d53975e30e568bff6fd09595ed4b3c1394261c96
diff --git a/app-misc/vifm/vifm-0.9.ebuild b/app-misc/vifm/vifm-0.9.ebuild
new file mode 100644
index 000000000000..4e0b17ce87a2
--- /dev/null
+++ b/app-misc/vifm/vifm-0.9.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~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() {
+ eapply_user
+ 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() {
+ emake DESTDIR="${D}" install
+ 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
+}