summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRubin Simmons2023-10-11 21:11:58 +0200
committerRubin Simmons2023-10-11 21:11:58 +0200
commitc6622a25bb66d8309a5482db3e9c5de3605a7654 (patch)
tree59e1ef5ed368f00949e4eecde27d736a0d071ddb
parent6bec27f8e90b94f03d193c22c7bbf7db1cc5b253 (diff)
downloadaur-c6622a25bb66d8309a5482db3e9c5de3605a7654.tar.gz
Do scalac also.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a4e0486d7e0e..583477811fb5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = scala-scala3-symlink
- pkgdesc = Replace scala with scala3
+ pkgdesc = Replace scala with scala3 and scalac with scalac3
pkgver = 1
- pkgrel = 1
+ pkgrel = 2
url = https://scala-lang.org
arch = any
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 96f4df86b029..65e551a8efce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=scala-scala3-symlink
pkgver=1
-pkgrel=1
-pkgdesc='Replace scala with scala3'
+pkgrel=2
+pkgdesc='Replace scala with scala3 and scalac with scalac3'
arch=('any')
url='https://scala-lang.org'
license=('Apache')
@@ -13,9 +13,7 @@ conflicts=('scala')
package() {
install -d "$pkgdir/usr/bin"
- local _file
- for _file in scala; do
- ln -s scala3 "$pkgdir/usr/bin/$_file"
- done
+ ln -s scala3 "$pkgdir/usr/bin/scala3"
+ ln -s scalac3 "$pkgdir/usr/bin/scalac3"
}