src_prepare-overlay/games-misc/lolcat-jaseg/lolcat-jaseg-1.0.ebuild
Maciej Barć a358be5b2a
games-misc/lolcat-jaseg: allow parllel install; fix install phase
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2021-01-18 13:25:14 +01:00

32 lines
634 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="lolcat"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="High-performance implementation of lolcat"
HOMEPAGE="https://github.com/jaseg/lolcat"
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"
src_install() {
einstalldocs
exeinto "/usr/bin"
newexe "${MY_PN}" "${PN}"
doexe "censor"
}