[arch-commits] Commit in scala/repos/community-any (PKGBUILD PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Sat Nov 1 20:12:11 UTC 2014


    Date: Saturday, November 1, 2014 @ 21:12:11
  Author: spupykin
Revision: 121695

archrelease: copy trunk to community-any

Added:
  scala/repos/community-any/PKGBUILD
    (from rev 121694, scala/trunk/PKGBUILD)
Deleted:
  scala/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  154 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 77 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-01 20:12:00 UTC (rev 121694)
+++ PKGBUILD	2014-11-01 20:12:11 UTC (rev 121695)
@@ -1,77 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Marcin Karpezo <sirmacik at gmail dot com>
-
-pkgbase=scala
-pkgname=(scala scala-docs scala-sources)
-pkgver=2.11.2
-pkgrel=1
-_distdate=20140722-192300
-_distsha=73fb460c1c
-pkgdesc="A Java-interoperable language with object-oriented and functional features"
-arch=('any')
-url="http://www.scala-lang.org"
-license=('BSD')
-depends=('java-runtime')
-makedepends=('apache-ant' 'git')
-source=("scala-$pkgver.tar.gz::https://github.com/scala/scala/archive/v${pkgver}.tar.gz"
-	"http://www.scala-lang.org/files/archive/scala-docs-${pkgver}.txz")
-md5sums=('39427a4adf170e7f996111089e428ace'
-         'ff1c89515d8c48355dd504e8dca65b29')
-
-prepare() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  chmod 0755 tools/*
-  echo -e "#!/bin/bash\necho ${_distdate}" >tools/get-scala-commit-date
-  echo -e "#!/bin/bash\necho ${_distsha}" >tools/get-scala-commit-sha
-}
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  export ANT_OPTS="-Xms2500M -Xmx2500M -Xss8M -XX:MaxPermSize=1024M -XX:+UseParallelGC"
-  export M2_OPTS="-Dmaven.repo.local=/tmp"
-  ant build-opt pack.doc osgi.done -Dbuild.release=true -Duser.home=/tmp
-}
-
-package_scala() {
-  depends=('java-runtime')
-  optdepends=('scala-docs' 'scala-sources' 'graphviz: generate diagrams')
-
-  cd ${srcdir}/${pkgname}-${pkgver}/build/pack
-
-  install -d ${pkgdir}/usr/{bin,share} ${pkgdir}/usr/share/man/man1 ${pkgdir}/usr/share/scala/{bin,lib}
-  cp -r lib ${pkgdir}/usr/share/scala/
-  cp -r man ${pkgdir}/usr/share/
-  install -m 755 bin/{fsc,scala,scalac,scalap,scaladoc} ${pkgdir}/usr/share/scala/bin
-  install -D -m0644 ${srcdir}/scala-${pkgver}/doc/LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
-
-  ln -s ../share/scala/bin/fsc ${pkgdir}/usr/bin/fsc
-  ln -s ../share/scala/bin/scala ${pkgdir}/usr/bin/scala
-  ln -s ../share/scala/bin/scalac ${pkgdir}/usr/bin/scalac
-  ln -s ../share/scala/bin/scalap ${pkgdir}/usr/bin/scalap
-  ln -s ../share/scala/bin/scaladoc ${pkgdir}/usr/bin/scaladoc
-}
-
-package_scala-docs() {
-  replaces=('scala-doc' 'scala-devel-docs')
-  pkgdesc="Scala documentation"
-  depends=()
-
-  cd ${srcdir}
-  mkdir -p $pkgdir/usr/share/doc/
-  cp -r scala-docs-${pkgver} $pkgdir/usr/share/doc/scala
-  install -D -m0644 ${srcdir}/scala-${pkgver}/doc/LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
-}
-
-package_scala-sources() {
-  replaces=('scala-src')
-  pkgdesc="Scala sources"
-  depends=()
-
-  cd ${srcdir}/scala-${pkgver}
-  mkdir -p $pkgdir/usr/share/scala/
-  find . -type f -name '*-src.jar' | while read f; do
-    install -Dm0644 $f $pkgdir/usr/share/scala/src/`basename $f`
-  done
-  install -D -m0644 ${srcdir}/scala-${pkgver}/doc/LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
-}

Copied: scala/repos/community-any/PKGBUILD (from rev 121694, scala/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-11-01 20:12:11 UTC (rev 121695)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Marcin Karpezo <sirmacik at gmail dot com>
+
+pkgbase=scala
+pkgname=(scala scala-docs scala-sources)
+pkgver=2.11.4
+pkgrel=1
+_distdate=20141027-173900
+_distsha=d783face36
+pkgdesc="A Java-interoperable language with object-oriented and functional features"
+arch=('any')
+url="http://www.scala-lang.org"
+license=('BSD')
+depends=('java-runtime')
+makedepends=('apache-ant' 'git')
+source=("scala-$pkgver.tar.gz::https://github.com/scala/scala/archive/v${pkgver}.tar.gz"
+	"http://www.scala-lang.org/files/archive/scala-docs-${pkgver}.txz")
+md5sums=('1a188214112b53967112ba3c3c8f4aaf'
+         'fb63c66676e2d0c91c58ced37d73b60a')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  chmod 0755 tools/*
+  echo -e "#!/bin/bash\necho ${_distdate}" >tools/get-scala-commit-date
+  echo -e "#!/bin/bash\necho ${_distsha}" >tools/get-scala-commit-sha
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  export ANT_OPTS="-Xms2500M -Xmx2500M -Xss8M -XX:MaxPermSize=1024M -XX:+UseParallelGC"
+  export M2_OPTS="-Dmaven.repo.local=/tmp"
+  ant build-opt pack.doc osgi.done -Dbuild.release=true -Duser.home=/tmp
+}
+
+package_scala() {
+  depends=('java-runtime')
+  optdepends=('scala-docs' 'scala-sources' 'graphviz: generate diagrams')
+
+  cd ${srcdir}/${pkgname}-${pkgver}/build/pack
+
+  install -d ${pkgdir}/usr/{bin,share} ${pkgdir}/usr/share/man/man1 ${pkgdir}/usr/share/scala/{bin,lib}
+  cp -r lib ${pkgdir}/usr/share/scala/
+  cp -r man ${pkgdir}/usr/share/
+  install -m 755 bin/{fsc,scala,scalac,scalap,scaladoc} ${pkgdir}/usr/share/scala/bin
+  install -D -m0644 ${srcdir}/scala-${pkgver}/doc/LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
+
+  ln -s ../share/scala/bin/fsc ${pkgdir}/usr/bin/fsc
+  ln -s ../share/scala/bin/scala ${pkgdir}/usr/bin/scala
+  ln -s ../share/scala/bin/scalac ${pkgdir}/usr/bin/scalac
+  ln -s ../share/scala/bin/scalap ${pkgdir}/usr/bin/scalap
+  ln -s ../share/scala/bin/scaladoc ${pkgdir}/usr/bin/scaladoc
+}
+
+package_scala-docs() {
+  replaces=('scala-doc' 'scala-devel-docs')
+  pkgdesc="Scala documentation"
+  depends=()
+
+  cd ${srcdir}
+  mkdir -p $pkgdir/usr/share/doc/
+  cp -r scala-docs-${pkgver} $pkgdir/usr/share/doc/scala
+  install -D -m0644 ${srcdir}/scala-${pkgver}/doc/LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
+}
+
+package_scala-sources() {
+  replaces=('scala-src')
+  pkgdesc="Scala sources"
+  depends=()
+
+  cd ${srcdir}/scala-${pkgver}
+  mkdir -p $pkgdir/usr/share/scala/
+  find . -type f -name '*-src.jar' | while read f; do
+    install -Dm0644 $f $pkgdir/usr/share/scala/src/`basename $f`
+  done
+  install -D -m0644 ${srcdir}/scala-${pkgver}/doc/LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
+}


More information about the arch-commits mailing list