[arch-commits] Commit in scala/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 23 08:58:57 UTC 2020
Date: Thursday, April 23, 2020 @ 08:58:57
Author: felixonmars
Revision: 617815
archrelease: copy trunk to community-any
Added:
scala/repos/community-any/PKGBUILD
(from rev 617814, scala/trunk/PKGBUILD)
Deleted:
scala/repos/community-any/PKGBUILD
----------+
PKGBUILD | 156 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 78 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-23 08:58:46 UTC (rev 617814)
+++ PKGBUILD 2020-04-23 08:58:57 UTC (rev 617815)
@@ -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.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"
-}
-
Copied: scala/repos/community-any/PKGBUILD (from rev 617814, scala/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-23 08:58:57 UTC (rev 617815)
@@ -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.2
+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=('69240ade06c95f1c5db4284a273b9085a81bfb1665d43138b5805eb76dc5eaea42ee6ca9cff014ea79db1301021d1ae2aeebb9e24857cd7573847c501d5c3d38'
+ '386c9563aeb2ad3c23d93daa2085d96f1be2d0326c60907631a485ca0885aed841482c5cb55c5f602ecb187c4a4b7ebc0a13d4bbe94458a7a37fa71d345b35a7')
+
+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