26 lines
828 B
Bash
26 lines
828 B
Bash
# Template file for 'sbt'
|
|
pkgname=sbt
|
|
version=1.2.8
|
|
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="BSD-3-Clause"
|
|
homepage="https://www.scala-sbt.org"
|
|
distfiles="https://sbt-downloads.cdnedge.bluemix.net/releases/v${version}/${pkgname}-${version}.tgz
|
|
https://raw.githubusercontent.com/sbt/sbt/v${version}/LICENSE>LICENSE.txt"
|
|
checksum="9bb9212541176d6fcce7bd12e4cf8a9c9649f5b63f88b3aff474e0b02c7cfe58
|
|
4a63870e342ef614e3ba2d5e1de3fcc5543504df6e96ecafac00f674a7972ab2"
|
|
|
|
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
|
|
vlicense ../LICENSE.txt
|
|
|
|
rm ${DESTDIR}/usr/share/${pkgname}/bin/*.bat
|
|
}
|
|
|