summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-06-01 21:15:02 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-06-02 15:37:45 +0200
commitb9f83c4e2e80980a213d0c968111822de774d042 (patch)
tree568cef7af25866aa5f7cfdfdd3c9ffc10a6f5ad4 /dev-scheme
parentdev-scheme/chibi: bump to 0.11.0 (diff)
downloadgentoo-b9f83c4e2e80980a213d0c968111822de774d042.tar.gz
gentoo-b9f83c4e2e80980a213d0c968111822de774d042.tar.bz2
gentoo-b9f83c4e2e80980a213d0c968111822de774d042.zip
dev-scheme/chibi: sync live 9999 version
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/chibi/chibi-9999.ebuild22
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}"
}