[arch-commits] Commit in sbt/trunk (LICENSE PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Thu Dec 12 08:27:02 UTC 2013


    Date: Thursday, December 12, 2013 @ 09:27:02
  Author: andrea
Revision: 102478

upgpkg: sbt 1:0.13.1-1

Upstream release; add missing license file

Added:
  sbt/trunk/LICENSE
Modified:
  sbt/trunk/PKGBUILD

----------+
 LICENSE  |   25 +++++++++++++++++++++++++
 PKGBUILD |   17 ++++++++++++-----
 2 files changed, 37 insertions(+), 5 deletions(-)

Added: LICENSE
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2013-12-12 08:27:02 UTC (rev 102478)
@@ -0,0 +1,25 @@
+Copyright (c) 2008, 2009, 2010 Steven Blundy, Josh Cough, Mark Harrah, Stuart Roebuck, Tony Sloane, Vesa Vilhonen, Jason Zaugg
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted 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. The name of the author may not be used to endorse or promote products
+   derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-12 03:21:31 UTC (rev 102477)
+++ PKGBUILD	2013-12-12 08:27:02 UTC (rev 102478)
@@ -4,7 +4,7 @@
 
 pkgname=sbt
 epoch=1
-pkgver=0.13.0
+pkgver=0.13.1
 pkgrel=1
 pkgdesc="A minimally intrusive build tool for Scala projects"
 arch=('any')
@@ -12,16 +12,23 @@
 license=('BSD')
 depends=('java-runtime-headless' 'sh')
 optdepends=('scala')
-source=("http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/${pkgname}/${pkgver}/${pkgname}.tgz")
-md5sums=('58d9bd204faa04e01d5ccb7ab59516a0')
+source=("http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/${pkgname}/${pkgver}/${pkgname}.tgz"
+        'LICENSE')
+md5sums=('3e8dc95757f8c70378df638a3047ea9b'
+         '0cc49331142988765ce73782a5839c57')
 
 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 -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/bin/
   ln -s /usr/share/java/${pkgname}/bin/sbt "${pkgdir}"/usr/bin/sbt
 
+  install -Dm644 "${srcdir}"/LICENSE \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
 }




More information about the arch-commits mailing list