[arch-commits] Commit in scala/repos/community-any (PKGBUILD PKGBUILD)
Evgeniy Alekseev
arcanis at archlinux.org
Sun Jan 13 11:20:12 UTC 2019
Date: Sunday, January 13, 2019 @ 11:20:11
Author: arcanis
Revision: 422795
archrelease: copy trunk to community-any
Added:
scala/repos/community-any/PKGBUILD
(from rev 422794, scala/trunk/PKGBUILD)
Deleted:
scala/repos/community-any/PKGBUILD
----------+
PKGBUILD | 155 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 78 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-13 11:19:46 UTC (rev 422794)
+++ PKGBUILD 2019-01-13 11:20:11 UTC (rev 422795)
@@ -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.12.7
-pkgrel=1
-_watch="https://github.com/scala/scala/releases"
-_distdate=20180926-092600
-_distsha=d96b8eb48e
-pkgdesc="A Java-interoperable language with object-oriented and functional features"
-arch=('any')
-url="http://www.scala-lang.org"
-license=('BSD')
-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=('2e9e9205056f214ce75454474e920b0b646751d6391cd027d359a7e7e46a545e1cea042cf101e9593c9aede8d8fd31c4a7a2ccfe456760944a47fd07a2c68685'
- '13e65374cdc4662ac20332e065743275bfc15e461d44279106cd4c58e952031e6a60552415eec8a6a18b3fcad0598c91c8254e26fa05b889a05f743c3503c08d')
-
-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 422794, scala/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-13 11:20:11 UTC (rev 422795)
@@ -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.12.8
+pkgrel=1
+_watch="https://github.com/scala/scala/releases"
+_distdate=20181127-085200
+_distsha=38cd84d976
+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=('94c0be85ffa61b601bf501c89585451b500a23ce94491472dfb20266ae727ee5de12c3807b29fd9257b3239c5e98aa7a5b38ff639dfe5e99006a1c227931d82e'
+ '10834b89890b12519f6cc0e89221ff609d90bc36321caafc51af3ba89d9af63cb073f6067e0200c735835f6a6139de00464d76def3a63c349fd85f6133f39f86')
+
+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