mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
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:
29
app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild
Normal file
29
app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild
Normal 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
|
||||
}
|
||||
30
app-eselect/eselect-scheme/files/scheme.eselect-1.0.0
Normal file
30
app-eselect/eselect-scheme/files/scheme.eselect-1.0.0
Normal 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}"
|
||||
}
|
||||
8
app-eselect/eselect-scheme/metadata.xml
Normal file
8
app-eselect/eselect-scheme/metadata.xml
Normal 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>
|
||||
Reference in New Issue
Block a user