summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/meson-mode/meson-mode-0.3-r1.ebuild (renamed from app-emacs/meson-mode/meson-mode-0.3.ebuild)16
1 files changed, 12 insertions, 4 deletions
diff --git a/app-emacs/meson-mode/meson-mode-0.3.ebuild b/app-emacs/meson-mode/meson-mode-0.3-r1.ebuild
index 7f9a90e2ec2e..2af5cb5acb4e 100644
--- a/app-emacs/meson-mode/meson-mode-0.3.ebuild
+++ b/app-emacs/meson-mode/meson-mode-0.3-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
NEED_EMACS=26.1
@@ -9,12 +9,20 @@ inherit elisp
DESCRIPTION="A GNU Emacs major mode for Meson build-system files"
HOMEPAGE="https://github.com/wentasah/meson-mode"
-SRC_URI="https://github.com/wentasah/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/wentasah/${PN}.git"
+else
+ SRC_URI="https://github.com/wentasah/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="amd64 ~arm64 ~riscv"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv"
DOCS=( README.md )
-
SITEFILE="50${PN}-gentoo.el"