[arch-commits] Commit in sbt/trunk (LICENSE_Scala PKGBUILD sbt.sh)

Andrea Scarpino andrea at nymeria.archlinux.org
Tue Apr 15 07:17:39 UTC 2014


    Date: Tuesday, April 15, 2014 @ 09:17:39
  Author: andrea
Revision: 109482

upgpkg: sbt 1:0.13.2-1

Upstream release

Added:
  sbt/trunk/LICENSE_Scala
  sbt/trunk/sbt.sh
Modified:
  sbt/trunk/PKGBUILD

---------------+
 LICENSE_Scala |   35 +++++++++++++++++++++++++++++++++++
 PKGBUILD      |   28 +++++++++++++---------------
 sbt.sh        |    5 +++++
 3 files changed, 53 insertions(+), 15 deletions(-)

Added: LICENSE_Scala
===================================================================
--- LICENSE_Scala	                        (rev 0)
+++ LICENSE_Scala	2014-04-15 07:17:39 UTC (rev 109482)
@@ -0,0 +1,35 @@
+SCALA LICENSE
+
+Copyright (c) 2002-2008 EPFL, Lausanne, unless otherwise specified.
+All rights reserved.
+
+This software was developed by the Programming Methods Laboratory of the
+Swiss Federal Institute of Technology (EPFL), Lausanne, Switzerland.
+
+Permission to use, copy, modify, and distribute this software in source
+or binary form for any purpose with or without fee is hereby granted,
+provided that the following conditions are met:
+
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+   2. Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+
+   3. Neither the name of the EPFL nor the names of its contributors
+      may be used to endorse or promote products derived from this
+      software without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
\ No newline at end of file

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-15 06:03:19 UTC (rev 109481)
+++ PKGBUILD	2014-04-15 07:17:39 UTC (rev 109482)
@@ -4,31 +4,29 @@
 
 pkgname=sbt
 epoch=1
-pkgver=0.13.1
+pkgver=0.13.2
 pkgrel=1
 pkgdesc="A minimally intrusive build tool for Scala projects"
 arch=('any')
 url='http://www.scala-sbt.org/'
-license=('BSD')
+license=('custom' 'APACHE')
 depends=('java-runtime-headless' 'sh')
-optdepends=('scala')
-source=("http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/${pkgname}/${pkgver}/${pkgname}.tgz"
-        'LICENSE')
-md5sums=('3e8dc95757f8c70378df638a3047ea9b'
-         '0cc49331142988765ce73782a5839c57')
+source=("http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/${pkgver}/sbt-launch.jar"
+        'LICENSE' 'LICENSE_Scala' 'sbt.sh')
+md5sums=('3bc22e5885fa0792ff500a8e91d0936d'
+         '0cc49331142988765ce73782a5839c57'
+         '4a09aae439532404ef76d0ba1db3342c'
+         'a83c7936396f5cf9e495b41472e4d4dd')
 
 package() {
-  cd ${pkgname}
-  install -d "${pkgdir}"/usr/share/java/${pkgname}/{bin,conf}
-  install -m755 bin/{sbt,sbt-launch.jar,sbt-launch-lib.bash} \
-    "${pkgdir}"/usr/share/java/${pkgname}/bin
-  install -m644 conf/{sbtconfig.txt,sbtopts} \
-    "${pkgdir}"/usr/share/java/${pkgname}/conf
+  install -d "${pkgdir}"/usr/share/java/${pkgname}
+  install -m755 sbt-launch.jar "${pkgdir}"/usr/share/java/${pkgname}
 
   install -d "${pkgdir}"/usr/bin/
-  ln -s /usr/share/java/${pkgname}/bin/sbt "${pkgdir}"/usr/bin/sbt
+  install -Dm755 "${srcdir}"/sbt.sh "${pkgdir}"/usr/bin/sbt
 
   install -Dm644 "${srcdir}"/LICENSE \
     "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
+  install -Dm644 "${srcdir}"/LICENSE_Scala \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE_Scala
 }

Added: sbt.sh
===================================================================
--- sbt.sh	                        (rev 0)
+++ sbt.sh	2014-04-15 07:17:39 UTC (rev 109482)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+SBT_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M"
+
+java $SBT_OPTS -jar /usr/share/java/sbt/sbt-launch.jar "$@"


Property changes on: sbt/trunk/sbt.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property



More information about the arch-commits mailing list