gotop: fix installation path

This commit is contained in:
Leonid Pliushch 2021-10-05 17:22:33 +03:00
parent 2291a2c5b8
commit 979336a5d0
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A terminal based graphical activity monitor inspired by
TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@medzikuser" TERMUX_PKG_MAINTAINER="@medzikuser"
TERMUX_PKG_VERSION=4.1.2 TERMUX_PKG_VERSION=4.1.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/xxxserxxx/gotop/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/xxxserxxx/gotop/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=81518fecfdab4f4c25a4713e24d9c033ba8311bbd3e2c0435ba76349028356da TERMUX_PKG_SHA256=81518fecfdab4f4c25a4713e24d9c033ba8311bbd3e2c0435ba76349028356da
@ -17,5 +18,5 @@ termux_step_make_install() {
-ldflags "-X main.Version=v${TERMUX_PKG_VERSION} -X main.BuildDate=$(date +%Y%m%dT%H%M%S)" \ -ldflags "-X main.Version=v${TERMUX_PKG_VERSION} -X main.BuildDate=$(date +%Y%m%dT%H%M%S)" \
./cmd/gotop ./cmd/gotop
install -Dm700 -t $TERMUX_PREFIX/bin/gotop ./gotop install -Dm700 -t $TERMUX_PREFIX/bin ./gotop
} }