diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-06-28 15:50:04 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-06-28 16:00:20 +0200 |
commit | ad6d3b2bc08e743a758183b0e7e0f786990b4779 (patch) | |
tree | a228687306f5e650420ac2d524b9701f23c38e9e /app-emacs | |
parent | dev-vcs/pre-commit: take up maintainership (diff) | |
download | gentoo-ad6d3b2bc08e743a758183b0e7e0f786990b4779.tar.gz gentoo-ad6d3b2bc08e743a758183b0e7e0f786990b4779.tar.bz2 gentoo-ad6d3b2bc08e743a758183b0e7e0f786990b4779.zip |
app-emacs/meson-mode: bump EAPI - 7 -> 8; misc tweaks
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
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" |