void-packages/srcpkgs/sbt/template
2019-12-21 22:10:03 +01:00

22 lines
657 B
Bash

# Template file for 'sbt'
pkgname=sbt
version=1.3.5
revision=1
archs=noarch
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=561f0aa40fbc08d6f810f8ce76f64592715880cf9b5766053fd40c36385130b0
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
}