summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/lean-mode/lean-mode-20220124-r1.ebuild')
-rw-r--r--app-emacs/lean-mode/lean-mode-20220124-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/app-emacs/lean-mode/lean-mode-20220124-r1.ebuild b/app-emacs/lean-mode/lean-mode-20220124-r1.ebuild
index b24391f06ca8..96741d7f7878 100644
--- a/app-emacs/lean-mode/lean-mode-20220124-r1.ebuild
+++ b/app-emacs/lean-mode/lean-mode-20220124-r1.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=c1c68cc946eb31b6ba8faefdceffce1f77ca52df
+[[ ${PV} == 20220124 ]] && COMMIT=c1c68cc946eb31b6ba8faefdceffce1f77ca52df
NEED_EMACS=24.3
inherit elisp
DESCRIPTION="Emacs mode for the Lean 3 theorem prover"
HOMEPAGE="https://github.com/leanprover/lean-mode/"
-SRC_URI="https://github.com/leanprover/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${H}"
+SRC_URI="https://github.com/leanprover/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-2+"
SLOT="0"