22 lines
645 B
Bash
22 lines
645 B
Bash
# Template file for 'sbt'
|
|
pkgname=sbt
|
|
version=1.3.10
|
|
revision=2
|
|
wrksrc="$pkgname"
|
|
depends="virtual?java-environment"
|
|
short_desc="Interactive build tool for Scala and Java"
|
|
maintainer="Damian Czaja <trojan295@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://www.scala-sbt.org"
|
|
distfiles="https://sbt-downloads.cdnedge.bluemix.net/releases/v${version}/${pkgname}-${version}.tgz"
|
|
checksum=3060065764193651aa3fe860a17ff8ea9afc1e90a3f9570f0584f2d516c34380
|
|
|
|
do_install() {
|
|
vmkdir usr/share/sbt
|
|
vmkdir usr/bin
|
|
vcopy "*" usr/share/sbt
|
|
ln -rs ${DESTDIR}/usr/share/sbt/bin/sbt ${DESTDIR}/usr/bin/sbt
|
|
|
|
rm ${DESTDIR}/usr/share/${pkgname}/bin/*.bat
|
|
}
|