2019-06-09 05:51:37 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://termshark.io
|
|
|
|
TERMUX_PKG_DESCRIPTION="A terminal UI for tshark, inspired by Wireshark"
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2021-03-01 22:13:50 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-09-10 03:31:00 +02:00
|
|
|
TERMUX_PKG_VERSION=2.3.0
|
2021-09-10 09:27:34 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2021-09-10 08:54:16 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/gcla/termshark.git
|
2019-06-09 05:51:37 +02:00
|
|
|
TERMUX_PKG_DEPENDS="tshark"
|
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
termux_setup_golang
|
|
|
|
|
|
|
|
export GOPATH=$TERMUX_PKG_BUILDDIR
|
|
|
|
export GO111MODULE=on
|
|
|
|
|
2020-08-13 11:53:29 +02:00
|
|
|
cd $TERMUX_PKG_SRCDIR
|
2021-09-10 03:31:00 +02:00
|
|
|
go install ./...
|
2019-06-09 05:51:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2019-11-11 20:57:05 +01:00
|
|
|
install -Dm700 bin/android_${GOARCH}/termshark $TERMUX_PREFIX/bin/termshark
|
2019-06-09 05:51:37 +02:00
|
|
|
}
|