New package: atop-2.0-1.

This commit is contained in:
Juan RP 2013-03-08 11:17:56 +01:00
parent e1d7988dfa
commit 720b0ca8d8

26
srcpkgs/atop/template Normal file
View file

@ -0,0 +1,26 @@
# 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"
crossmakedepends="${makedepends}"
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
}