diff options
Diffstat (limited to 'dev-scheme/chibi/chibi-9999.ebuild')
-rw-r--r-- | dev-scheme/chibi/chibi-9999.ebuild | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/dev-scheme/chibi/chibi-9999.ebuild b/dev-scheme/chibi/chibi-9999.ebuild index 3860b98dfaa5..40985662f005 100644 --- a/dev-scheme/chibi/chibi-9999.ebuild +++ b/dev-scheme/chibi/chibi-9999.ebuild @@ -1,25 +1,27 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -MY_PN=${PN}-scheme -MY_PV=${PV} # May be tagged incorrectly, see bug #858245 -MY_P=${MY_PN}-${MY_PV} +REAL_PN="${PN}-scheme" +REAL_PV="$(ver_cut 1-2)" +REAL_P="${REAL_PN}-${REAL_PV}" inherit toolchain-funcs DESCRIPTION="Minimal Scheme implementation for use as an extension language" HOMEPAGE="http://synthcode.com/scheme/chibi/" -if [[ ${PV} == *9999* ]] ; then +if [[ "${PV}" == *9999* ]] ; then inherit git-r3 - EGIT_REPO_URI="https://github.com/ashinn/${MY_PN}.git" + + EGIT_REPO_URI="https://github.com/ashinn/${REAL_PN}.git" else - SRC_URI="https://github.com/ashinn/${MY_PN}/archive/${MY_PV}.tar.gz - -> ${P}.tar.gz" + SRC_URI="https://github.com/ashinn/${REAL_PN}/archive/${REAL_PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${REAL_P}" + KEYWORDS="~amd64 ~x86" - S="${WORKDIR}"/${MY_P} fi LICENSE="BSD" @@ -39,5 +41,5 @@ src_configure() { src_install() { default - dosym ${MY_PN} /usr/bin/${PN} + dosym "${REAL_PN}" "/usr/bin/${PN}" } |