summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/uxn/uxn-0_p20221022.ebuild')
-rw-r--r--app-emulation/uxn/uxn-0_p20221022.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/app-emulation/uxn/uxn-0_p20221022.ebuild b/app-emulation/uxn/uxn-0_p20221022.ebuild
index c8521b44d3ac..de0d0a1457cc 100644
--- a/app-emulation/uxn/uxn-0_p20221022.ebuild
+++ b/app-emulation/uxn/uxn-0_p20221022.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=1b2049e238df96f32335edf1c6db35bd09f8b42d
+[[ ${PV} == *_p20221022 ]] && COMMIT=1b2049e238df96f32335edf1c6db35bd09f8b42d
inherit toolchain-funcs
@@ -15,8 +15,9 @@ if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~rabbits/uxn.git"
else
- SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${H}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-${H}
+ SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
KEYWORDS="~amd64 ~x86"
fi