void-packages/srcpkgs/pkgtop/template

19 lines
562 B
Bash

# Template file for 'pkgtop'
pkgname=pkgtop
version=2.1
revision=1
build_style=go
go_import_path="github.com/orhun/pkgtop"
go_package="${go_import_path}/src"
hostmakedepends="git"
short_desc="Interactive package manager and resource monitor"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/orhun/pkgtop"
distfiles="https://github.com/orhun/pkgtop/archive/${version}.tar.gz"
checksum=3f2be81534c461652e4d414148d0d04de1194bea7afec36e6ee8cb6c3fa42dfa
post_install() {
mv ${DESTDIR}/usr/bin/{src,pkgtop}
}