makedeb


stylua-bin 1:0.20.0-1


An opinionated code formatter for Lua, written in Rust (binary release)

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for stylua-bin.

# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
pkgname=stylua-bin
pkgver=0.20.0
pkgrel=1
epoch=1
pkgdesc="An opinionated code formatter for Lua, written in Rust (binary release)"
arch=('amd64')
url="https://github.com/JohnnyMorganz/StyLua"
license=('MIT')
provides=('stylua')
conflicts=('stylua')
extensions=('zipman')
source=("stylua-${pkgver}.zip::https://github.com/JohnnyMorganz/StyLua/releases/download/v${pkgver}/stylua-linux.zip")
sha256sums=('28eddb9257bf85b20b1c337e536b7a3d16ba308863f067d447c1f4d24c6dec64')

package() {
    cd "${srcdir}"
    install -Dm755 "stylua" "${pkgdir}/usr/bin/stylua"
}