diff options
author | 2021-02-08 02:07:27 +0100 | |
---|---|---|
committer | 2021-02-08 02:07:29 +0100 | |
commit | 0acdf21b6279af5153374b1ffcbb87316c55131c (patch) | |
tree | 27dec2b56f06e0da1ab27fc6c2166a15c439079d /app-eselect | |
parent | app-backup/timeshift: new package (diff) | |
download | guru-0acdf21b6279af5153374b1ffcbb87316c55131c.tar.gz guru-0acdf21b6279af5153374b1ffcbb87316c55131c.tar.bz2 guru-0acdf21b6279af5153374b1ffcbb87316c55131c.zip |
app-eselect/eselect-scheme: new pkg; add 1.0.0
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
Diffstat (limited to 'app-eselect')
-rw-r--r-- | app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild | 29 | ||||
-rw-r--r-- | app-eselect/eselect-scheme/files/scheme.eselect-1.0.0 | 30 | ||||
-rw-r--r-- | app-eselect/eselect-scheme/metadata.xml | 8 |
3 files changed, 67 insertions, 0 deletions
diff --git a/app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild b/app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild new file mode 100644 index 0000000000..e2f816be0a --- /dev/null +++ b/app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Manages scheme implementations" +HOMEPAGE="https://gitweb.gentoo.org/repo/proj/guru.git/tree/app-eselect/eselect-scheme?h=dev" +SRC_URI="" + +RESTRICT="mirror" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=app-eselect/eselect-lib-bin-symlink-0.1.1 +" +DEPEND="${RDEPEND}" + +S="${FILESDIR}" + +src_install() { + insinto "/usr/share/eselect/modules" + newins "scheme.eselect-${PV}" "scheme.eselect" +} + +pkg_postinst() { + eselect scheme update --if-unset +} diff --git a/app-eselect/eselect-scheme/files/scheme.eselect-1.0.0 b/app-eselect/eselect-scheme/files/scheme.eselect-1.0.0 new file mode 100644 index 0000000000..41ea755398 --- /dev/null +++ b/app-eselect/eselect-scheme/files/scheme.eselect-1.0.0 @@ -0,0 +1,30 @@ +#!/bin/sh + + +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + + +DESCRIPTION="Manages scheme implementations" +MAINTAINER="xgqt@protonmail.com" +VERSION="1.0.0" + +SYMLINK_DESCRIPTION="default scheme implementations" +SYMLINK_PATH="/usr/bin/scheme" +SYMLINK_TARGETS=( + chezscheme chicken + elk escm + gsi gxi + jscheme + racket + scheme48 scm + tinyscheme + ypsilon +) + + +inherit bin-symlink + +do_unset() { + rm -f "${SYMLINK_PATH}" +} diff --git a/app-eselect/eselect-scheme/metadata.xml b/app-eselect/eselect-scheme/metadata.xml new file mode 100644 index 0000000000..0fc8922a0b --- /dev/null +++ b/app-eselect/eselect-scheme/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@protonmail.com</email> + <name>Maciej Barć</name> + </maintainer> +</pkgmetadata> |