diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 17 |
3 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b999c904b1eb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = scalafmt-native + pkgdesc = Code formatter for Scala built with GraalVM (for fast startup) + pkgver = 2.0.0.RC4 + pkgrel = 1 + url = https://scalameta.org/scalafmt/ + arch = x86_64 + license = Apache + source = https://chugunkov.website/files/scalafmt-native-2.0.0.RC4.tar.gz + sha256sums = deefaa75b5363872f1f8da5d2a881db3a8cb05df6692989b450963b79a7b6efd + +pkgname = scalafmt-native + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..62399afa57c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.tar.* +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a515e42014a7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +# Maintainer: Mikhail Chugunkov <poslegm@gmail.com> +pkgname=scalafmt-native +pkgver=2.0.0.RC4 +pkgrel=1 +pkgdesc='Code formatter for Scala built with GraalVM (for fast startup)' +arch=('x86_64') +url='https://scalameta.org/scalafmt/' +license=('Apache') +source=("https://chugunkov.website/files/scalafmt-native-2.0.0.RC4.tar.gz") +sha256sums=('deefaa75b5363872f1f8da5d2a881db3a8cb05df6692989b450963b79a7b6efd') + +package() { + cd "$pkgname-$pkgver" + mkdir -p $pkgdir/usr/bin + install -D -m755 scalafmt "${pkgdir}/usr/bin/scalafmt" +} + |