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>
This commit is contained in:
Maciej Barć
2021-02-08 02:07:27 +01:00
parent fd07a5e2e3
commit 0acdf21b62
3 changed files with 67 additions and 0 deletions

View File

@@ -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
}

View File

@@ -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}"
}

View File

@@ -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>