diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-07-27 11:53:21 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-07-27 11:56:33 +0200 |
commit | b73b1689807e1c2e8947f3c7a7bbd961b76f9885 (patch) | |
tree | 0b45fe6d3a81b58c93b91ee9bf390f5423181ba2 /app-emacs/dashboard | |
parent | app-emacs/dashboard: drop old 1.8.0_pre20220406 (diff) | |
download | gentoo-b73b1689807e1c2e8947f3c7a7bbd961b76f9885.tar.gz gentoo-b73b1689807e1c2e8947f3c7a7bbd961b76f9885.tar.bz2 gentoo-b73b1689807e1c2e8947f3c7a7bbd961b76f9885.zip |
app-emacs/dashboard: bump to 1.8.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/dashboard')
-rw-r--r-- | app-emacs/dashboard/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/dashboard/dashboard-1.8.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-emacs/dashboard/Manifest b/app-emacs/dashboard/Manifest index 20ce1f00b0eb..f8e7675be5d7 100644 --- a/app-emacs/dashboard/Manifest +++ b/app-emacs/dashboard/Manifest @@ -1 +1,2 @@ +DIST dashboard-1.8.0.tar.gz 195751 BLAKE2B 590ee410bf7d9b613b558f2ddbb032a00ea3034c02311da76d8dc8ff4f5260263dbb335dd05ee22b4bff42910ed63b0421f6737250d5971358566a2b32054aa3 SHA512 a15d3200cd0a658c5b37a50b3f4a693c1d027faba6797e88203633f4c40fd26e576afdb4e66205ba3c50f2a73e0acc9ff7f26afa7e09f7ca080a0c38742b84cf DIST dashboard-1.8.0_pre20230401.tar.gz 194750 BLAKE2B 813d8ca1ff3d8a20fda609976c704cb414cea0bad70e3ffdc94ae2db4f4a0135c8b4f724eeaf965f316f896519aaed0d9029f7df2329afa5b481b6c9476f1b08 SHA512 17f6d104d877f4c013d147293d58c6498a561fef280154cdf475737379d21e0886ddfb2de9b070fd5a6a127a37c68d59a33e1789c2cf7317e7712ac97ba2739f diff --git a/app-emacs/dashboard/dashboard-1.8.0.ebuild b/app-emacs/dashboard/dashboard-1.8.0.ebuild new file mode 100644 index 000000000000..cf895ff16673 --- /dev/null +++ b/app-emacs/dashboard/dashboard-1.8.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=26.1 + +inherit elisp + +DESCRIPTION="Extensible Emacs dashboard, with sections like bookmarks, agenda and more" +HOMEPAGE="https://github.com/emacs-dashboard/emacs-dashboard/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/emacs-dashboard/emacs-${PN}.git" +else + SRC_URI="https://github.com/emacs-dashboard/emacs-${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/emacs-${PN}-${PV} + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( CHANGELOG.md README.org etc ) +PATCHES=( "${FILESDIR}"/${PN}-dashboard-widgets.el-banners.patch ) + +ELISP_REMOVE=( .dir-locals.el ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + sed "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" -i dashboard-widgets.el || die +} + +src_test() { + ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \ + -L . -L test -l ${PN}.el -l test/activate.el || die "tests failed" +} + +src_install() { + elisp_src_install + + insinto "${SITEETC}"/${PN} + doins -r banners +} |