diff options
Diffstat (limited to 'app-text/nfoview/nfoview-1.15.1.ebuild')
-rw-r--r-- | app-text/nfoview/nfoview-1.15.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-text/nfoview/nfoview-1.15.1.ebuild b/app-text/nfoview/nfoview-1.15.1.ebuild new file mode 100644 index 000000000000..809881c5aae5 --- /dev/null +++ b/app-text/nfoview/nfoview-1.15.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{3_3,3_4} ) + +inherit distutils-r1 fdo-mime gnome2-utils +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://github.com/otsaloma/nfoview.git + http://github.com/otsaloma/nfoview.git" + inherit git-2 + SRC_URI="" + #KEYWORDS="" +else + SRC_URI="http://download.gna.org/nfoview/${PV:0:4}/${P}.tar.xz" + KEYWORDS="amd64 x86" +fi + +DESCRIPTION="simple viewer for NFO files, which are ASCII art in the CP437 codepage" +HOMEPAGE="http://home.gna.org/nfoview/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +DEPEND="dev-python/pygobject:3" +RDEPEND="${DEPEND} + media-fonts/terminus-font" + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} |