1 # Maintainer: Artyom Olshevskiy <siasiamail@gmail.com>
5 pkgdesc="sbt is a simple build tool for Scala projects that aims to do the basics well"
7 url="http://github.com/harrah/xsbt/tree/0.9"
9 depends=('java-runtime')
10 source=(sbt-launch-$pkgver.jar::http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/$pkgver/sbt-launch.jar xsbt.sh)
11 md5sums=('9d8ab145a3c4d6d5ee9f76cae6082308'
12 'ed5e16161cecd7a11b5a3cc6f61cf666')
17 mkdir -p $pkgdir/usr/bin/
18 mkdir -p $pkgdir/usr/share/xsbt/
19 cp $srcdir/sbt-launch-${pkgver}.jar ${pkgdir}/usr/share/xsbt/
21 sed "s/\${pkgver}/${pkgver}/g" ${srcdir}/xsbt.sh > ${pkgdir}/usr/bin/xsbt
22 chmod +x ${pkgdir}/usr/bin/xsbt