blob: e94379d5401800878866e3845570c78a4f2034b1 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SCALA_VERSION="2.13"
DESCRIPTION="Scala language-based scripting and REPL"
HOMEPAGE="https://ammonite.io/"
SRC_URI="https://github.com/lihaoyi/Ammonite/releases/download/${PV}/${SCALA_VERSION}-${PV} -> ammonite-${PV}"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"
IUSE=""
# Ammonite release binaries seem to package also a full scala
# distribution, no need ot depend on dev-lang/scala(-bin).
# RDEPEND="
# >=dev-lang/scala-bin-${SCALA_VERSION}
# "
S="${WORKDIR}"
src_install() {
newbin "${DISTDIR}/ammonite-${PV}" amm
}
|