[arch-commits] Commit in scala/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Dec 25 23:16:20 UTC 2019
Date: Wednesday, December 25, 2019 @ 23:16:19
Author: felixonmars
Revision: 541417
archrelease: copy trunk to community-any
Added:
scala/repos/community-any/PKGBUILD
(from rev 541416, scala/trunk/PKGBUILD)
Deleted:
scala/repos/community-any/PKGBUILD
----------+
PKGBUILD | 156 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 78 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-25 23:16:07 UTC (rev 541416)
+++ PKGBUILD 2019-12-25 23:16:19 UTC (rev 541417)
@@ -1,78 +0,0 @@
-# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail dot com>
-# Contributor: Marcin Karpezo <sirmacik at gmail dot com>
-
-pkgbase=scala
-pkgname=(scala scala-docs scala-sources)
-pkgver=2.13.0
-pkgrel=1
-_watch="https://github.com/scala/scala/releases"
-_distdate=20190531-142000
-_distsha=43e040ff7e
-pkgdesc="A Java-interoperable language with object-oriented and functional features"
-arch=('any')
-url="http://www.scala-lang.org"
-license=('Apache')
-depends=('java-environment=8' 'java-runtime=8')
-makedepends=('git' 'sbt')
-source=("scala-${pkgver}.tar.gz::https://github.com/scala/scala/archive/v${pkgver}.tar.gz"
- "scala-docs-${pkgver}.tar.xz::http://www.scala-lang.org/files/archive/scala-docs-${pkgver}.txz")
-sha512sums=('b66871ea4da353a7f6d87cee01d3cee78c396a65641d6d284356d724f5b7ddecf7ac91110fce3adbd8c9a61fc398cc2c8de0e7868312cbca3fd67346b15456bb'
- '123ac30925c60d9b5dc933003961125c155e898063f0309f44c288c2beb9673351e3a942b48f21cc67ae5e3169087a50d90653d1a5304b7f336f0f07d7d24644')
-
-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}"
- sbt dist/mkPack packageSrc packageDoc
-}
-
-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/"
- install -m755 bin/{fsc,scala,scalac,scalap,scaladoc} "${pkgdir}/usr/share/scala/bin"
- install -Dm0644 "${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}/scala-${pkgver}"
- mkdir -p "${pkgdir}/usr/share/doc/"
- cp -r api "${pkgdir}/usr/share/doc/scala"
- install -Dm0644 "${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 '*-sources.jar' | while read f; do
- install -Dm0644 "${f}" "${pkgdir}/usr/share/scala/src/$(basename -- ${f})"
- done
- install -Dm0644 "${srcdir}/scala-${pkgver}/doc/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
-}
-
Copied: scala/repos/community-any/PKGBUILD (from rev 541416, scala/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-25 23:16:19 UTC (rev 541417)
@@ -0,0 +1,78 @@
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail dot com>
+# Contributor: Marcin Karpezo <sirmacik at gmail dot com>
+
+pkgbase=scala
+pkgname=(scala scala-docs scala-sources)
+pkgver=2.13.1
+pkgrel=1
+_watch="https://github.com/scala/scala/releases"
+_distdate=20190531-142000
+_distsha=43e040ff7e
+pkgdesc="A Java-interoperable language with object-oriented and functional features"
+arch=('any')
+url="https://www.scala-lang.org"
+license=('Apache')
+depends=('java-environment=8' 'java-runtime=8')
+makedepends=('git' 'sbt')
+source=("scala-${pkgver}.tar.gz::https://github.com/scala/scala/archive/v${pkgver}.tar.gz"
+ "scala-docs-${pkgver}.tar.xz::https://www.scala-lang.org/files/archive/scala-docs-${pkgver}.txz")
+sha512sums=('d63e838b3d74f2d9bc0bd0f700f54ff3cf3f59c0aa5354df754adc76a01d7e0f9e911e2a61425b3c83eea41c4c2469f14ee685798fae0750fdccacc82034a16e'
+ '082e5632f31c3ec91d4aed2bb8aa0e3b1a80c417013b8eefb5c53b2628c3391ffb592d3591c33c21b76d7c8062e3279e20b037d36c8c9fcd921f9b98c099a71e')
+
+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}"
+ sbt dist/mkPack packageSrc packageDoc
+}
+
+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/"
+ install -m755 bin/{fsc,scala,scalac,scalap,scaladoc} "${pkgdir}/usr/share/scala/bin"
+ install -Dm0644 "${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}/scala-${pkgver}"
+ mkdir -p "${pkgdir}/usr/share/doc/"
+ cp -r api "${pkgdir}/usr/share/doc/scala"
+ install -Dm0644 "${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 '*-sources.jar' | while read f; do
+ install -Dm0644 "${f}" "${pkgdir}/usr/share/scala/src/$(basename -- ${f})"
+ done
+ install -Dm0644 "${srcdir}/scala-${pkgver}/doc/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}
+
More information about the arch-commits
mailing list