[arch-commits] Commit in sbt/repos/community-any (5 files)
Guillaume Alaux
guillaume at archlinux.org
Tue Sep 5 20:08:22 UTC 2017
Date: Tuesday, September 5, 2017 @ 20:08:21
Author: guillaume
Revision: 255903
archrelease: copy trunk to community-any
Added:
sbt/repos/community-any/LICENSE
(from rev 255902, sbt/trunk/LICENSE)
sbt/repos/community-any/PKGBUILD
(from rev 255902, sbt/trunk/PKGBUILD)
sbt/repos/community-any/sbt.install
(from rev 255902, sbt/trunk/sbt.install)
Deleted:
sbt/repos/community-any/PKGBUILD
sbt/repos/community-any/sbt.install
-------------+
LICENSE | 25 ++++++++++++++++
PKGBUILD | 89 +++++++++++++++++++++++++++++-----------------------------
sbt.install | 16 +++++-----
3 files changed, 78 insertions(+), 52 deletions(-)
Copied: sbt/repos/community-any/LICENSE (from rev 255902, sbt/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2017-09-05 20:08:21 UTC (rev 255903)
@@ -0,0 +1,25 @@
+Copyright (c) 2008-2014 Typesafe Inc, Mark Harrah, Grzegorz Kossakowski, Josh Suereth, Indrajit Raychaudhuri, Eugene Yokota, and other contributors.
+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.
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-05 20:07:23 UTC (rev 255902)
+++ PKGBUILD 2017-09-05 20:08:21 UTC (rev 255903)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Leif Warner <abimelech at gmail.com>
-
-pkgname=sbt
-epoch=1
-pkgver=1.0.0
-pkgrel=2
-pkgdesc='The interactive build tool'
-arch=('any')
-url='http://www.scala-sbt.org/'
-license=('BSD')
-depends=('java-runtime-headless=8' 'sh')
-IFS='.' read -a _pkgver <<< "${pkgver}"
-_majorver=${_pkgver[0]}.x
-install=sbt.install
-source=(https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tgz{,.asc}
- https://raw.githubusercontent.com/${pkgname}/${pkgname}/${_majorver}/LICENSE)
-validpgpkeys=('2EE0EA64E40A89B84B2DF73499E82A75642AC823') # sbt build tool
-sha256sums=('9ae04f4972145f2ac56c4deb868c9a5bb8b8b85c5151885dff3b997712645c5a'
- 'SKIP'
- 'c822d385b1a73329846241799becf18690b5d44764c1bed69300b536a405030a')
-backup=(etc/${pkgname}/sbtopts)
-
-package() {
- cd "${pkgname}"
-
- mkdir -p "${pkgdir}"/usr/share/${pkgname}
- cp -r lib "${pkgdir}"/usr/share/${pkgname}
- cp -r bin "${pkgdir}"/usr/share/${pkgname}
- rm "${pkgdir}"/usr/share/${pkgname}/bin/*.bat
- chmod -x "${pkgdir}"/usr/share/${pkgname}/bin/*
- chmod +x "${pkgdir}"/usr/share/${pkgname}/bin/sbt
- mkdir -p "${pkgdir}"/usr/bin
- ln -s /usr/share/${pkgname}/bin/sbt "${pkgdir}"/usr/bin/sbt
-
- mkdir -p "${pkgdir}/etc"
- cp -r conf "${pkgdir}"/etc/${pkgname}
- rm "${pkgdir}"/etc/${pkgname}/sbtconfig.txt
- ln -s /etc/${pkgname} "${pkgdir}"/usr/share/${pkgname}/conf
-
- install -D "${srcdir}"/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: sbt/repos/community-any/PKGBUILD (from rev 255902, sbt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-09-05 20:08:21 UTC (rev 255903)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Leif Warner <abimelech at gmail.com>
+
+pkgname=sbt
+epoch=1
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='The interactive build tool'
+arch=('any')
+url='http://www.scala-sbt.org/'
+license=('BSD')
+depends=('java-runtime-headless=8' 'sh')
+IFS='.' read -a _pkgver <<< "${pkgver}"
+_majorver=${_pkgver[0]}.x
+install=sbt.install
+ #https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tgz{,.asc}
+source=(https://cocl.us/sbt-1.0.1.tgz{,.asc}
+ LICENSE)
+validpgpkeys=('2EE0EA64E40A89B84B2DF73499E82A75642AC823') # sbt build tool
+sha256sums=('5b68996a890b4a91efd9d13b9aca5e2b09f78c254c2907b3d548a9a7a73b0e5a'
+ 'SKIP'
+ '70b7b72694a56a3e922deaf5482273e7c33bab2c00c0c67fc0ccc5d33927ffed')
+backup=(etc/${pkgname}/sbtopts)
+
+package() {
+ cd "${pkgname}"
+
+ mkdir -p "${pkgdir}"/usr/share/${pkgname}
+ cp -r lib "${pkgdir}"/usr/share/${pkgname}
+ cp -r bin "${pkgdir}"/usr/share/${pkgname}
+ rm "${pkgdir}"/usr/share/${pkgname}/bin/*.bat
+ chmod -x "${pkgdir}"/usr/share/${pkgname}/bin/*
+ chmod +x "${pkgdir}"/usr/share/${pkgname}/bin/sbt
+ mkdir -p "${pkgdir}"/usr/bin
+ ln -s /usr/share/${pkgname}/bin/sbt "${pkgdir}"/usr/bin/sbt
+
+ mkdir -p "${pkgdir}/etc"
+ cp -r conf "${pkgdir}"/etc/${pkgname}
+ rm "${pkgdir}"/etc/${pkgname}/sbtconfig.txt
+ ln -s /etc/${pkgname} "${pkgdir}"/usr/share/${pkgname}/conf
+
+ install -D "${srcdir}"/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
Deleted: sbt.install
===================================================================
--- sbt.install 2017-09-05 20:07:23 UTC (rev 255902)
+++ sbt.install 2017-09-05 20:08:21 UTC (rev 255903)
@@ -1,8 +0,0 @@
-# Config file switch does not play well with Pacman so let's clear this
-pre_upgrade() {
- conf_link='/etc/sbt/sbtopts'
- if [ -L $conf_link ]; then
- unlink $conf_link
- cp /usr/share/sbt/conf/sbtopts $conf_link
- fi
-}
Copied: sbt/repos/community-any/sbt.install (from rev 255902, sbt/trunk/sbt.install)
===================================================================
--- sbt.install (rev 0)
+++ sbt.install 2017-09-05 20:08:21 UTC (rev 255903)
@@ -0,0 +1,8 @@
+# Config file switch does not play well with Pacman so let's clear this
+pre_upgrade() {
+ conf_link='/etc/sbt/sbtopts'
+ if [ -L $conf_link ]; then
+ unlink $conf_link
+ cp /usr/share/sbt/conf/sbtopts $conf_link
+ fi
+}
More information about the arch-commits
mailing list