[arch-commits] Commit in scala/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 29 21:25:09 UTC 2021
Date: Saturday, May 29, 2021 @ 21:25:09
Author: felixonmars
Revision: 950279
archrelease: copy trunk to community-any
Added:
scala/repos/community-any/PKGBUILD
(from rev 950278, scala/trunk/PKGBUILD)
Deleted:
scala/repos/community-any/PKGBUILD
----------+
PKGBUILD | 154 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 77 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-29 21:24:50 UTC (rev 950278)
+++ PKGBUILD 2021-05-29 21:25:09 UTC (rev 950279)
@@ -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.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"
-}
Copied: scala/repos/community-any/PKGBUILD (from rev 950278, scala/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-29 21:25:09 UTC (rev 950279)
@@ -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.6
+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=('c50989a09ed4aca146a4ea918be56019d6f7007eb9a82786ffe38ebf196c377b6735ebc31c6277c9c871ba292daddb7f36cb51638aeb880ab4c53701b00218fa'
+ '37b71ca94fa6d41afb636a04d338e5a2d7f7bc9085fe88d333b520744a16a2d431fca05e22158e2cb1d014daba3b8eea45cd44d1a843b2e39fac7ec83413315b')
+
+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