From a358be5b2a826ee8c8fb0f4bcf80acff55efb847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 18 Jan 2021 13:25:14 +0100 Subject: [PATCH] games-misc/lolcat-jaseg: allow parllel install; fix install phase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Maciej Barć --- .../lolcat-jaseg/lolcat-jaseg-1.0.ebuild | 23 ++++++++----------- .../lolcat-jaseg/lolcat-jaseg-9999.ebuild | 23 ++++++++----------- games-misc/lolcat-jaseg/metadata.xml | 10 +++++--- 3 files changed, 25 insertions(+), 31 deletions(-) diff --git a/games-misc/lolcat-jaseg/lolcat-jaseg-1.0.ebuild b/games-misc/lolcat-jaseg/lolcat-jaseg-1.0.ebuild index bf53982..2430c12 100644 --- a/games-misc/lolcat-jaseg/lolcat-jaseg-1.0.ebuild +++ b/games-misc/lolcat-jaseg/lolcat-jaseg-1.0.ebuild @@ -1,36 +1,31 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -MY_PN=lolcat +MY_PN="lolcat" MY_P="${MY_PN}-${PV}" DESCRIPTION="High-performance implementation of lolcat" HOMEPAGE="https://github.com/jaseg/lolcat" -if [[ ${PV} == *9999* ]]; then +if [[ "${PV}" == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/jaseg/${MY_PN}.git" else SRC_URI="https://github.com/jaseg/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" KEYWORDS="~amd64" + S="${WORKDIR}/${MY_P}" fi RESTRICT="mirror" LICENSE="WTFPL-2" SLOT="0" -RDEPEND=" - !games-misc/lolcat -" - -if [[ ${PV} != *9999* ]]; then - S="${WORKDIR}/${MY_P}" -fi - src_install() { - insinto "/usr/bin" - doins "${MY_PN}" - fperms +x "/usr/bin/${MY_PN}" + einstalldocs + + exeinto "/usr/bin" + newexe "${MY_PN}" "${PN}" + doexe "censor" } diff --git a/games-misc/lolcat-jaseg/lolcat-jaseg-9999.ebuild b/games-misc/lolcat-jaseg/lolcat-jaseg-9999.ebuild index bf53982..2430c12 100644 --- a/games-misc/lolcat-jaseg/lolcat-jaseg-9999.ebuild +++ b/games-misc/lolcat-jaseg/lolcat-jaseg-9999.ebuild @@ -1,36 +1,31 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -MY_PN=lolcat +MY_PN="lolcat" MY_P="${MY_PN}-${PV}" DESCRIPTION="High-performance implementation of lolcat" HOMEPAGE="https://github.com/jaseg/lolcat" -if [[ ${PV} == *9999* ]]; then +if [[ "${PV}" == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/jaseg/${MY_PN}.git" else SRC_URI="https://github.com/jaseg/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" KEYWORDS="~amd64" + S="${WORKDIR}/${MY_P}" fi RESTRICT="mirror" LICENSE="WTFPL-2" SLOT="0" -RDEPEND=" - !games-misc/lolcat -" - -if [[ ${PV} != *9999* ]]; then - S="${WORKDIR}/${MY_P}" -fi - src_install() { - insinto "/usr/bin" - doins "${MY_PN}" - fperms +x "/usr/bin/${MY_PN}" + einstalldocs + + exeinto "/usr/bin" + newexe "${MY_PN}" "${PN}" + doexe "censor" } diff --git a/games-misc/lolcat-jaseg/metadata.xml b/games-misc/lolcat-jaseg/metadata.xml index 8500d6a..7cd2f29 100644 --- a/games-misc/lolcat-jaseg/metadata.xml +++ b/games-misc/lolcat-jaseg/metadata.xml @@ -1,7 +1,11 @@ - - jaseg/lolcat - + + xgqt@protonmail.com + Maciej Barć + + + jaseg/lolcat +