Package Details: scala-dotty 3.4.0-1

Git Clone URL: https://aur.archlinux.org/scala-dotty.git (read-only, click to copy)
Package Base: scala-dotty
Description: The Scala 3 compiler, also known as Dotty.
Upstream URL: http://dotty.epfl.ch
Keywords: dotty java sbt scala scala3
Licenses: Apache
Submitter: corvus_192
Maintainer: mbloms (valsaven)
Last Packager: valsaven
Votes: 14
Popularity: 0.152475
First Submitted: 2017-10-27 19:01 (UTC)
Last Updated: 2024-03-06 04:30 (UTC)

Latest Comments

« First ‹ Previous 1 2

TheElectronWill commented on 2019-10-04 22:34 (UTC) (edited on 2019-10-08 13:09 (UTC) by TheElectronWill)

Is it possible to use the -RC1 versions, like the latest 0.19.0-RC1?

It's a bit weird to be always one version number behind. And in scastie and other official tools, it's the -RC1 versions that are used.

02m commented on 2018-11-20 17:41 (UTC)

Patch that upgrades to 0.10-RC1: https://gist.github.com/c0e59fac9558a1def19572ac0d431d52

mbloms commented on 2018-04-09 12:49 (UTC)

I more or less substituted "opt" for "usr/share" and I'm not experiencing any issues so far. I'd be happy to co-maintain by the way. (Promise to not step on any toes.)

diff --git a/PKGBUILD b/PKGBUILD
index 48058ee..4223c3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,8 +15,8 @@ sha1sums=('9257d91723cd4cc7498a0d486e333cbecf423fa4')
 package() {
-       mkdir -p "$pkgdir/usr/bin" "$pkgdir/opt/scala-dotty"
-       cp -r "$srcdir/dotty-$_pkgverWithHyphen/bin" "$pkgdir/opt/scala-dotty"
-       cp -r "$srcdir/dotty-$_pkgverWithHyphen/lib" "$pkgdir/opt/scala-dotty"
-       ln -s "/opt/scala-dotty/bin/dotc" "$pkgdir/usr/bin/dotc"
-       ln -s "/opt/scala-dotty/bin/dotd" "$pkgdir/usr/bin/dotd"
-       ln -s "/opt/scala-dotty/bin/dotr" "$pkgdir/usr/bin/dotr"
+       mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/share/scala-dotty"
+       cp -r "$srcdir/dotty-$_pkgverWithHyphen/bin" "$pkgdir/usr/share/scala-dotty"
+       cp -r "$srcdir/dotty-$_pkgverWithHyphen/lib" "$pkgdir/usr/share/scala-dotty"
+       ln -s "/usr/share/scala-dotty/bin/dotc" "$pkgdir/usr/bin/dotc"
+       ln -s "/usr/share/scala-dotty/bin/dotd" "$pkgdir/usr/bin/dotd"
+       ln -s "/usr/share/scala-dotty/bin/dotr" "$pkgdir/usr/bin/dotr"
 }

corvus_192 commented on 2018-04-05 16:28 (UTC)

@chawlindel The problem is that the binaries want their libraries in ../lib relative to the absolute path of them. I would be happy to do this if you have a solution.

mbloms commented on 2018-04-05 14:36 (UTC)

Hi! Are you sure the files you install to /opt/ shouldn't be in /usr/share?

corvus_192 commented on 2018-01-05 19:35 (UTC)

@02m I fixed the checksum, please try again. Sorry for the inconvenience.

02m commented on 2018-01-05 14:18 (UTC)

I get the following when trying to install:

==> Validating source files with sha1sums... dotty-0.5.0-RC1.tar.gz ... FAILED