-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
23 lines (22 loc) · 724 Bytes
/
template
File metadata and controls
23 lines (22 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Template file for 'shfmt'
pkgname=shfmt
version=3.12.0
revision=1
build_style=go
go_import_path=mvdan.cc/sh/v3
go_package="${go_import_path}/cmd/shfmt"
go_ldflags="-X main.version=${version}"
make_check_args='-skip "^TestRunnerTerminal.*$"'
hostmakedepends="scdoc"
short_desc="Shell parser and formatter"
maintainer="Daniel Lewan <daniel@teddydd.me>"
license="BSD-3-Clause"
homepage="https://github.com/mvdan/sh"
changelog="https://raw.githubusercontent.com/mvdan/sh/master/CHANGELOG.md"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=ac15f42feeba55af29bd07698a881deebed1cd07e937effe140d9300e79d5ceb
post_install() {
scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1
vman shfmt.1
vlicense LICENSE
}