void-packages/srcpkgs/pkgtop/template

19 lines
562 B
Bash

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