updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xsbt / PKGBUILD
blob8129b41d8339997eaddd84d9ccc81d8449f64498
1 # Maintainer: Artyom Olshevskiy <siasiamail@gmail.com>
2 pkgname=xsbt
3 pkgver=0.10.0
4 pkgrel=1
5 pkgdesc="sbt is a simple build tool for Scala projects that aims to do the basics well"
6 arch=('any')
7 url="http://github.com/harrah/xsbt/tree/0.9"
8 license=('BSD')
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')
14 package() {
15         cd $startdir/
17         mkdir -p $pkgdir/usr/bin/
18         mkdir -p $pkgdir/usr/share/xsbt/
19         cp $srcdir/sbt-launch-${pkgver}.jar ${pkgdir}/usr/share/xsbt/
20         
21         sed "s/\${pkgver}/${pkgver}/g" ${srcdir}/xsbt.sh > ${pkgdir}/usr/bin/xsbt
22         chmod +x ${pkgdir}/usr/bin/xsbt