mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/sbt-bin: removed obsolete 1.3.2
Bug: https://bugs.gentoo.org/852770 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST sbt-1.3.10.tgz 57609786 BLAKE2B 35285d141d8ad38a8e15cc3dd18947fa34dbe307ce1fbdd267a0902ff7f5757a0ab80d56eb241c8bea79c4a13c270efb65a552a039416a6f571b6cd214739819 SHA512 93832c0eec51422d6db63078c722578cbad21e4611ca868e835471fb988ad225e8abdea47c6dcf6e19117db9598bc75296100d9dc7ba0d605b70adc592efb925
|
||||
DIST sbt-1.3.2.tgz 51817549 BLAKE2B ccb362b8cec867c64a04eba48982a9d339250d3ab51afb72fbbb7fe29406c6565d386ab0e02887007922f4134481b4ee764b63eb69300d7aa06dffd43a91a225 SHA512 2402f781962b80a46c63ac3aba0b2bb2b55ae509bb6b591d840385765dbf73cb6e5b40c12e6b95db2d8f4e77caeda32aad5a701a6439bde41ca3166d50f4b9b2
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="sbt, a build tool for Scala"
|
||||
HOMEPAGE="https://scala-sbt.org"
|
||||
SRC_URI="https://github.com/sbt/sbt/releases/download/v${PV}/${PN/-bin}-${PV}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.7
|
||||
!dev-java/sbt"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv "${WORKDIR}/sbt" "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
java-pkg_init_paths_
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="${JAVA_PKG_SHAREPATH}"
|
||||
|
||||
rm -v bin/sbt.bat || die
|
||||
sed -i -e 's#bin/sbt-launch.jar#lib/sbt-launch.jar#g;' \
|
||||
bin/sbt || die
|
||||
|
||||
insinto "${dest}/lib"
|
||||
doins bin/*
|
||||
|
||||
insinto "${dest}"
|
||||
doins -r conf
|
||||
|
||||
fperms 0755 "${dest}/lib/sbt"
|
||||
dosym "${dest}/lib/sbt" /usr/bin/sbt
|
||||
}
|
||||
Reference in New Issue
Block a user