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

Sergej Pupykin spupykin at archlinux.org
Thu Mar 5 11:26:02 UTC 2015


    Date: Thursday, March 5, 2015 @ 12:26:01
  Author: spupykin
Revision: 128758

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-05 11:25:52 UTC (rev 128757)
+++ PKGBUILD	2015-03-05 11:26:01 UTC (rev 128758)
@@ -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.5
-pkgrel=1
-_distdate=20150102-024700
-_distsha=3fafbc204f
-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=('24fc33be04b862d35b994323a4f96047'
-         '2d91910ca1b5dab681b08b8c52aaee0e')
-
-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 128757, scala/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-03-05 11:26:01 UTC (rev 128758)
@@ -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.6
+pkgrel=1
+_distdate=20150102-024700
+_distsha=3fafbc204f
+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=('76c3d3538b44cbe9718d40e86a142444'
+         '95c4952a183a31acbc28c33ccd9db5d0')
+
+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