diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-12-22 21:02:37 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-12-22 21:16:12 +0100 |
commit | e7e85896dfd20eb6269bdfc47e632f3bcff2be19 (patch) | |
tree | eb245a08a6266d8b5d3b94406644beb16f848866 /app-emacs/emacs-el-fetch | |
parent | app-emacs/emacs-ansilove: new package; add 1.0.1 (diff) | |
download | gentoo-e7e85896dfd20eb6269bdfc47e632f3bcff2be19.tar.gz gentoo-e7e85896dfd20eb6269bdfc47e632f3bcff2be19.tar.bz2 gentoo-e7e85896dfd20eb6269bdfc47e632f3bcff2be19.zip |
app-emacs/emacs-el-fetch: new package; add 3.2.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/emacs-el-fetch')
-rw-r--r-- | app-emacs/emacs-el-fetch/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/emacs-el-fetch/emacs-el-fetch-3.2.1.ebuild | 36 | ||||
-rw-r--r-- | app-emacs/emacs-el-fetch/emacs-el-fetch-9999.ebuild | 36 | ||||
-rw-r--r-- | app-emacs/emacs-el-fetch/metadata.xml | 18 |
4 files changed, 91 insertions, 0 deletions
diff --git a/app-emacs/emacs-el-fetch/Manifest b/app-emacs/emacs-el-fetch/Manifest new file mode 100644 index 000000000000..cf940a518fac --- /dev/null +++ b/app-emacs/emacs-el-fetch/Manifest @@ -0,0 +1 @@ +DIST emacs-el-fetch-3.2.1.tar.bz2 18093 BLAKE2B b09d9bb77834f77597e92115f5055b0f17fa466ec695b5e8855cbc445ae2fda00f9a951a8b45b43e12eaf0846b7e2e3533091e9b2a879b2220edaeb40050029d SHA512 c46713d1d51c55715d7ffc165d89b5ae56a7f93aea894111da24547d02ed0c8cf3bc9c2deaa5a9a762ac5d699a6558b6215c55c207413d25bbfe52624ba86148 diff --git a/app-emacs/emacs-el-fetch/emacs-el-fetch-3.2.1.ebuild b/app-emacs/emacs-el-fetch/emacs-el-fetch-3.2.1.ebuild new file mode 100644 index 000000000000..cbe834002bf1 --- /dev/null +++ b/app-emacs/emacs-el-fetch/emacs-el-fetch-3.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=25.1 + +inherit elisp + +DESCRIPTION="Show system information in Neofetch-like style inside Emacs" +HOMEPAGE="https://gitlab.com/xgqt/emacs-el-fetch/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/xgqt/${PN}.git" +else + SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( app-emacs/buttercup )" + +src_compile() { + emake compile +} + +src_install() { + einstalldocs + elisp-install ${PN} "${S}"/src/el-fetch/*.el{,c} + elisp-site-file-install "${S}"/extras/gentoo/50el-fetch-gentoo.el +} diff --git a/app-emacs/emacs-el-fetch/emacs-el-fetch-9999.ebuild b/app-emacs/emacs-el-fetch/emacs-el-fetch-9999.ebuild new file mode 100644 index 000000000000..cbe834002bf1 --- /dev/null +++ b/app-emacs/emacs-el-fetch/emacs-el-fetch-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=25.1 + +inherit elisp + +DESCRIPTION="Show system information in Neofetch-like style inside Emacs" +HOMEPAGE="https://gitlab.com/xgqt/emacs-el-fetch/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/xgqt/${PN}.git" +else + SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( app-emacs/buttercup )" + +src_compile() { + emake compile +} + +src_install() { + einstalldocs + elisp-install ${PN} "${S}"/src/el-fetch/*.el{,c} + elisp-site-file-install "${S}"/extras/gentoo/50el-fetch-gentoo.el +} diff --git a/app-emacs/emacs-el-fetch/metadata.xml b/app-emacs/emacs-el-fetch/metadata.xml new file mode 100644 index 000000000000..6bdc4f73ca31 --- /dev/null +++ b/app-emacs/emacs-el-fetch/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <maintainer status="active"> + <email>xgqt@riseup.net</email> + <name>Maciej Barć</name> + </maintainer> + <bugs-to>https://gitlab.com/xgqt/emacs-el-fetch/-/issues/</bugs-to> + <remote-id type="gitlab">xgqt/emacs-el-fetch</remote-id> + </upstream> +</pkgmetadata> |