Package Details: scala-dotty 3.6.2-4

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: java jre jvm sbt
Licenses: Apache-2.0
Submitter: corvus_192
Maintainer: envolution
Last Packager: envolution
Votes: 15
Popularity: 0.65
First Submitted: 2017-10-27 19:01 (UTC)
Last Updated: 2024-12-13 14:52 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3

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