28 lines
709 B
Bash
28 lines
709 B
Bash
# Template file for 's'
|
|
pkgname=s
|
|
version=0.6.8
|
|
revision=2
|
|
build_helper=qemu
|
|
build_style=go
|
|
go_import_path=github.com/zquestz/s
|
|
short_desc="Web search from the terminal"
|
|
maintainer="Daniel Lewan <daniel@teddydd.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/zquestz/s"
|
|
distfiles="https://github.com/zquestz/s/archive/v${version}.tar.gz"
|
|
checksum=fe554cfcd7d30d11bc50a3f6da3301993f71e9d7546dc0815c1c1af2639e2b2f
|
|
|
|
post_build() {
|
|
s_cli=$(find $GOPATH/bin -name s)
|
|
vtargetrun $s_cli --completion bash >s.bash
|
|
vtargetrun $s_cli --completion fish >s.fish
|
|
vtargetrun $s_cli --completion zsh >s.zsh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vcompletion s.bash bash
|
|
vcompletion s.fish fish
|
|
vcompletion s.zsh zsh
|
|
}
|