diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /app-shells/pokemon-colorscripts | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'app-shells/pokemon-colorscripts')
| -rw-r--r-- | app-shells/pokemon-colorscripts/metadata.xml | 9 | ||||
| -rw-r--r-- | app-shells/pokemon-colorscripts/pokemon-colorscripts-9999.ebuild | 37 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-shells/pokemon-colorscripts/metadata.xml b/app-shells/pokemon-colorscripts/metadata.xml new file mode 100644 index 000000000000..1682800385f1 --- /dev/null +++ b/app-shells/pokemon-colorscripts/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick.joseph.taylor@gmail.com</email> + <name>Patrick J Taylor</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/app-shells/pokemon-colorscripts/pokemon-colorscripts-9999.ebuild b/app-shells/pokemon-colorscripts/pokemon-colorscripts-9999.ebuild new file mode 100644 index 000000000000..35fe324cc1e1 --- /dev/null +++ b/app-shells/pokemon-colorscripts/pokemon-colorscripts-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) + +inherit git-r3 python-single-r1 + +DESCRIPTION="Pokemon unicode sprites for your terminal!" +HOMEPAGE="https://gitlab.com/phoneybadger/pokemon-colorscripts" +EGIT_REPO_URI="https://gitlab.com/phoneybadger/pokemon-colorscripts.git" + +LICENSE="MIT" +SLOT="0" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" + +src_prepare() { + default + sed -i \ + 's#PROGRAM_DIR = os.path.dirname(PROGRAM)#PROGRAM_DIR = "/opt/pokemon-colorscripts/"#g' \ + pokemon-colorscripts.py || die "sed failed." +} + +src_install() { + insinto /opt/pokemon-colorscripts + doins -r "${S}/colorscripts" + doins "${S}/pokemon.json" + + python_scriptinto /opt/pokemon-colorscripts + python_doscript "${S}/pokemon-colorscripts.py" + + dosym -r /opt/pokemon-colorscripts/pokemon-colorscripts.py /usr/bin/pokemon-colorscripts +} |
