[arch-commits] Commit in scala/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 28 00:05:29 UTC 2021
Date: Friday, May 28, 2021 @ 00:05:29
Author: felixonmars
Revision: 949239
archrelease: copy trunk to community-any
Added:
scala/repos/community-any/PKGBUILD
(from rev 949238, scala/trunk/PKGBUILD)
Deleted:
scala/repos/community-any/PKGBUILD
----------+
PKGBUILD | 154 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 77 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-28 00:05:17 UTC (rev 949238)
+++ PKGBUILD 2021-05-28 00:05:29 UTC (rev 949239)
@@ -1,77 +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.4
-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=('4bbf4c4b86142ead294f9fdc97d6f4827e1df587d5493e306d20b7b5d7370c59e6d9259464fb364d35bdc8a0d66d5803feacee8784166f9f047a9decd0fc34b5'
- 'f299095d226de4842e8f4e13f7741f78db85f1a7e83606698cc801c4685cf82e5dcc64bd64807a1717ac552c5504ddbb1bfc015381ed050a4bef6dd2d00d4649')
-
-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 949238, scala/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-28 00:05:29 UTC (rev 949239)
@@ -0,0 +1,77 @@
+# 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.5
+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=('6f5abf5eaab087ec4f42807a7455e812934e5ae14f5b77a7a12fa86a1967e3551748775a6d1ecfaf754cdf68114d323bdfe580f6fa3409b2230b265aae1040d8'
+ '263147e7d460ab2943773e6e8aa78613449b06dfb3956e54e5c5487f5d36ddcac9c4b80843b043fb1e8ea8cc3a19c880a4a3f1d09ea89e2bb59bc66c5519000b')
+
+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