summaryrefslogtreecommitdiff
path: root/app-emulation/uxn/uxn-0_p20221211.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/uxn/uxn-0_p20221211.ebuild')
-rw-r--r--app-emulation/uxn/uxn-0_p20221211.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/app-emulation/uxn/uxn-0_p20221211.ebuild b/app-emulation/uxn/uxn-0_p20221211.ebuild
index 0733343327a1..e4a8f5dd88c1 100644
--- a/app-emulation/uxn/uxn-0_p20221211.ebuild
+++ b/app-emulation/uxn/uxn-0_p20221211.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=6317b5cf181e56253da10e0e5051ac75bbb5c4b2
+[[ ${PV} == *_p20221211 ]] && COMMIT=6317b5cf181e56253da10e0e5051ac75bbb5c4b2
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