dev-scheme/chibi: sync live 9999 version

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-06-01 21:15:02 +02:00
parent 35bc0bcef1
commit b9f83c4e2e

View File

@@ -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}"
}