aboutsummaryrefslogtreecommitdiff
blob: 2d812c2643e6afb9c0682a06de91803e31e7c0a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/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
    guile gsi gxi
    jscheme
    plt-r5rs
    racket
    scheme48 scm
    tinyscheme
    ypsilon
)


inherit bin-symlink

do_unset() {
    rm -f "${SYMLINK_PATH}"
}