void-packages/srcpkgs/smem/template

23 lines
517 B
Bash

# Template file for 'smem'
pkgname=smem
version=1.5
revision=2
depends="python3"
short_desc="Memory reporting tool"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="GPL-2.0-or-later"
homepage="https://www.selenic.com/smem"
distfiles="https://selenic.com/repo/smem/archive/${version}.tar.bz2"
checksum=950c39ee8b1e051866564b25c36a6113eae2617e597b8302324bb8ee57d82ba6
python_version=3
do_build() {
$CC $CFLAGS $LDFLAGS -o smemcap smemcap.c
}
do_install() {
vbin smem
vbin smemcap
vman smem.8
}