New package: StyLua-0.10.1
This commit is contained in:
parent
0e2359fe0c
commit
7572c8a437
23
srcpkgs/StyLua/template
Normal file
23
srcpkgs/StyLua/template
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Template file for 'StyLua'
|
||||||
|
pkgname=StyLua
|
||||||
|
version=0.11.0
|
||||||
|
revision=1
|
||||||
|
build_style=cargo
|
||||||
|
configure_args="$(vopt_if lua52 '--features lua52') $(vopt_if luau '--features luau')"
|
||||||
|
short_desc="Opinionated Lua code formatter"
|
||||||
|
maintainer="Omar Zeghouani <omarzeghouanii@gmail.com>"
|
||||||
|
license="MPL-2.0"
|
||||||
|
homepage="https://github.com/JohnnyMorganz/StyLua"
|
||||||
|
changelog="https://raw.githubusercontent.com/JohnnyMorganz/StyLua/master/CHANGELOG.md"
|
||||||
|
distfiles="https://github.com/JohnnyMorganz/StyLua/archive/v${version}.tar.gz"
|
||||||
|
checksum=39f0bad4cc175202eae2551e4ddaf3dd6a229943e8da3e462d4fa15a024fd0fa
|
||||||
|
|
||||||
|
build_options="lua52 luau"
|
||||||
|
build_options_default="lua52 luau"
|
||||||
|
|
||||||
|
desc_option_lua52="Enable support for Lua 5.2 syntax"
|
||||||
|
desc_option_luau="Enable support for Luau syntax"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.md
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user