mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
app-emacs/actionscript-mode: bump EAPI to 8; refactor
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT="65abd58e198458a8e46748c5962c41d80d60c4ea"
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A major mode for GNU Emacs for editing Actionscript 3 files"
|
||||
HOMEPAGE="https://github.com/austinhaas/actionscript-mode/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/austinhaas/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/austinhaas/${PN}/archive/${COMMIT}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
@@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit elisp
|
||||
|
||||
COMMIT="65abd58e198458a8e46748c5962c41d80d60c4ea"
|
||||
DESCRIPTION="A major mode for GNU Emacs for editing Actionscript 3 files"
|
||||
HOMEPAGE="https://github.com/austinhaas/actionscript-mode"
|
||||
SRC_URI="https://github.com/austinhaas/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="README.md"
|
||||
Reference in New Issue
Block a user