Package Details: scala-dotty 0.18.1-1

Git Clone URL: https://aur.archlinux.org/scala-dotty.git (read-only)
Package Base: scala-dotty
Description: Research compiler that will become Scala 3
Upstream URL: http://dotty.epfl.ch
Keywords: dotty java sbt scala
Licenses: BSD
Submitter: corvus_192
Maintainer: mbloms
Last Packager: mbloms
Votes: 6
Popularity: 0.187748
First Submitted: 2017-10-27 19:01
Last Updated: 2019-09-23 10:12

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

TheElectronWill commented on 2019-10-04 22:34

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

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

mbloms commented on 2018-04-09 12:49

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

@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

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

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

02m commented on 2018-01-05 14:18

I get the following when trying to install:

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