void-packages/srcpkgs/gotop/template
2022-04-10 11:27:57 +02:00

21 lines
658 B
Bash

# Template file for 'gotop'
pkgname=gotop
version=4.1.3
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"
distfiles="https://github.com/xxxserxxx/gotop/archive/v${version}.tar.gz"
checksum=c0a02276e718b988d1220dc452063759c8634d42e1c01a04c021486c1e61612d
post_install() {
vlicense LICENSE
vtargetrun ${DESTDIR}/usr/bin/gotop --create-manpage > gotop.1
vman gotop.1
}