void-packages/srcpkgs/termshark/template
Piraty 17296acc11 New package: termshark-1.0.0
including some patches already present in upstream's repo
2019-04-30 14:46:21 +02:00

23 lines
751 B
Bash

# Template file for 'termshark'
pkgname=termshark
version=1.0.0
revision=1
build_style=go
go_import_path="github.com/gcla/termshark"
go_package="${go_import_path}/cmd/termshark"
hostmakedepends="git"
depends="wireshark"
short_desc="Terminal UI for tshark, inspired by Wireshark"
maintainer="Piraty <piraty1@inbox.ru>"
license="MIT"
homepage="https://github.com/gcla/termshark"
distfiles="https://github.com/gcla/termshark/archive/v${version}.tar.gz"
checksum=669bba0e8dd7df54ade6321a5c7d2ec20563ffd777f7b3b0394a11f88da64698
# should be obsolete by next release, see:
# https://github.com/gcla/termshark/commit/cd358de177ba07c31a084ad4dbb3cf45aa6c7ffd
go_ldflags="-X github.com/gcla/termshark.Version=${version}"
post_install() {
vlicense LICENSE
}