summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34611fd45e16da608cb3824ee9c513d7c14c8ace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Rubin Simons <me@rubin55.org>

pkgname=scala-scala3-symlink
pkgver=1
pkgrel=3
pkgdesc='Replace scala with scala3 and scalac with scalac3'
arch=('any')
url='https://scala-lang.org'
license=('Apache')
depends=('scala3')
conflicts=('scala')

package() {
    install -d "$pkgdir/usr/bin"

    ln -s scala3 "$pkgdir/usr/bin/scala"
    ln -s scalac3 "$pkgdir/usr/bin/scalac"
}