void-packages/srcpkgs/atop/template

26 lines
755 B
Plaintext

# Template file for 'atop'
pkgname=atop
_distver=2.0
_patchver=1
version=${_distver}.${_patchver}
wrksrc=atop-${_distver}-${_patchver}
revision=1
build_style=gnu-makefile
makedepends="ncurses-devel zlib-devel"
short_desc="A system and process level monitor"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.atoptool.nl/"
distfiles="http://www.atoptool.nl/download/atop-${_distver}-${_patchver}.tar.gz"
checksum=b4679525f241d3c51fa9b827a40db21cc7df8a3d88e55ee3b7d01ec501acbee6
systemd_services="atop.service true"
post_install() {
# Remove unused stuff.
rm -f ${DESTDIR}/usr/bin/atop{,sar}-2.0
rm -rf ${DESTDIR}/etc/{init,logrotate}.d ${DESTDIR}/var
# systemd service
vinstall atop.service 644 usr/lib/systemd/system
}