blob: 84bcb992c658e8014b0eec88ee99b7495ec53a55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Vasili Novikov <n1dr+cmarchlinux@yaaandex.com> (replace "aaa" with "a")
pkgname=scalafmt-native-bin
pkgver=2.5.2
pkgrel=1
pkgdesc='Code formatter for Scala, native version via graalvm'
url='https://scalameta.org/scalafmt/'
source=("${pkgname}-${pkgver}.zip::https://github.com/scalameta/scalafmt/releases/download/v$pkgver/scalafmt-linux.zip")
license=('Apache-2.0')
# I'm not actually sure which architectures are supported.
# Please write if the binary won't work.
arch=('any')
sha256sums=('8ab403da69cad7ab8999073bedff96c13bb3362367397f769d6b102d365af53f')
package() {
cd "$srcdir"
install -Dm755 scalafmt "${pkgdir}/usr/bin/scalafmt"
}
|