void-packages/srcpkgs/pkgtop/template

19 lines
562 B
Bash

# Template file for 'pkgtop'
pkgname=pkgtop
version=2.4
revision=2
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=8730516d14524e696f11b56ae3158f9a1853d620b27c5f960b9b6a4f6aedb2df
post_install() {
mv ${DESTDIR}/usr/bin/{src,pkgtop}
}