23 lines
740 B
Bash
23 lines
740 B
Bash
# Template file for 'gotop'
|
|
pkgname=gotop
|
|
version=4.2.0
|
|
revision=1
|
|
build_style=go
|
|
build_helper=qemu
|
|
go_ldflags="-X main.Version=v${version}"
|
|
go_import_path="github.com/xxxserxxx/gotop/v4"
|
|
go_package="$go_import_path/cmd/gotop"
|
|
short_desc="Terminal based graphical activity monitor"
|
|
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/xxxserxxx/gotop"
|
|
changelog="https://raw.githubusercontent.com/xxxserxxx/gotop/master/CHANGELOG.md"
|
|
distfiles="https://github.com/xxxserxxx/gotop/archive/v${version}.tar.gz"
|
|
checksum=e9d9041903acb6bd3ffe94e0a02e69eea53f1128274da1bfe00fe44331ccceb1
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vtargetrun ${DESTDIR}/usr/bin/gotop --create-manpage > gotop.1
|
|
vman gotop.1
|
|
}
|