Date: Tuesday, October 6, 2020 @ 21:05:34 Author: felixonmars Revision: 719599
archrelease: copy trunk to community-testing-any Added: sbt/repos/community-testing-any/ sbt/repos/community-testing-any/LICENSE (from rev 719598, sbt/trunk/LICENSE) sbt/repos/community-testing-any/PKGBUILD (from rev 719598, sbt/trunk/PKGBUILD) sbt/repos/community-testing-any/sbt.install (from rev 719598, sbt/trunk/sbt.install) -------------+ LICENSE | 25 +++++++++++++++++++++++++ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ sbt.install | 8 ++++++++ 3 files changed, 75 insertions(+) Copied: sbt/repos/community-testing-any/LICENSE (from rev 719598, sbt/trunk/LICENSE) =================================================================== --- community-testing-any/LICENSE (rev 0) +++ community-testing-any/LICENSE 2020-10-06 21:05:34 UTC (rev 719599) @@ -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. + Copied: sbt/repos/community-testing-any/PKGBUILD (from rev 719598, sbt/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-10-06 21:05:34 UTC (rev 719599) @@ -0,0 +1,42 @@ +# Maintainer: Guillaume ALAUX <guilla...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Leif Warner <abimel...@gmail.com> + +pkgname=sbt +epoch=1 +pkgver=1.4.0 +pkgrel=1 +pkgdesc='The interactive build tool' +arch=('any') +url='https://www.scala-sbt.org/' +license=('BSD') +depends=('java-runtime-headless' '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} + LICENSE) +validpgpkeys=('2EE0EA64E40A89B84B2DF73499E82A75642AC823') # sbt build tool +sha512sums=('bb1093a6cd73f472c2015215beed2969f313dd31a194141cde6e3dd12ba2512bfe9e71b810a152795ff248248c38f22c5303a498cbdb2bfa0557c359c8bfe6b2' + 'SKIP' + '49fefd36f8e3e796efd2b95aec76781832f64163445b6ebba624e385446bcbd308e27a82770b5e7b1ce7d4cd406d771549f0a121f1310611c92b3e15bff209d0') +backup=(etc/${pkgname}/sbtopts) + +package() { + cd "${pkgname}" + + mkdir -p "${pkgdir}"/usr/share/${pkgname} + cp -r bin "${pkgdir}"/usr/share/${pkgname} + rm "${pkgdir}"/usr/share/${pkgname}/bin/*{.bat,.exe,-darwin} + chmod -x "${pkgdir}"/usr/share/${pkgname}/bin/* + chmod +x "${pkgdir}"/usr/share/${pkgname}/bin/{sbt,sbtn-x86_64-pc-linux} + 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-testing-any/sbt.install (from rev 719598, sbt/trunk/sbt.install) =================================================================== --- community-testing-any/sbt.install (rev 0) +++ community-testing-any/sbt.install 2020-10-06 21:05:34 UTC (rev 719599) @@ -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 +}