void-packages/srcpkgs/sbt/template

27 lines
830 B
Bash
Raw Normal View History

2018-08-11 12:36:41 +00:00
# Template file for 'sbt'
pkgname=sbt
2018-12-02 06:27:00 +00:00
version=1.2.7
2018-08-11 12:36:41 +00:00
revision=1
noarch=yes
2018-12-02 06:27:00 +00:00
wrksrc="$pkgname"
2018-08-11 12:36:41 +00:00
depends="virtual?java-environment"
short_desc="The 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"
2018-12-02 06:27:00 +00:00
checksum="2625cbd8db75ec9b4a57e9a0af55a5ee8ad7700e1eba7d97ad78d9296450e781
2018-08-11 12:36:41 +00:00
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
}