blob: 3a69fa70a5b9099ee2e731480e7d1e0ad5cf850a (
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.4.2
pkgrel=2
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=('8d7363b7e8d45a67f172580756a9cb26aec63b57cc583e263ceb25c784e8534e')
package() {
cd "$srcdir"
install -Dm755 scalafmt "${pkgdir}/usr/bin/scalafmt"
}
|