diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
commit | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch) | |
tree | 852c90a4bf354c30ea66504f70bfab5401fba18d /app-text/nfoview/nfoview-1.24.ebuild | |
parent | 5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff) |
gentoo resync : 28.04.2018
Diffstat (limited to 'app-text/nfoview/nfoview-1.24.ebuild')
-rw-r--r-- | app-text/nfoview/nfoview-1.24.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-text/nfoview/nfoview-1.24.ebuild b/app-text/nfoview/nfoview-1.24.ebuild new file mode 100644 index 000000000000..5b1cf0483c63 --- /dev/null +++ b/app-text/nfoview/nfoview-1.24.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 gnome2-utils xdg-utils + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/otsaloma/nfoview.git" + inherit git-r3 +else + SRC_URI="https://github.com/otsaloma/nfoview/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="simple viewer for NFO files, which are ASCII art in the CP437 codepage" +HOMEPAGE="https://otsaloma.io/nfoview/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + media-fonts/terminus-font" + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |