summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzshzero <ashwinkumar3098@gmail.com>2020-05-14 12:15:33 +0530
committerBrian Dolbec <dolsen@gentoo.org>2020-07-21 11:52:52 -0700
commit2905f6a4850e4dcf6c5c25dadb4b2aefd57a6cf7 (patch)
tree45503f1a6f2d9bf6965c6a3387a656892bdbc1c4 /sys-process
parentdev-python/libvirt-python: remove old (diff)
downloadgentoo-2905f6a4850e4dcf6c5c25dadb4b2aefd57a6cf7.tar.gz
gentoo-2905f6a4850e4dcf6c5c25dadb4b2aefd57a6cf7.tar.bz2
gentoo-2905f6a4850e4dcf6c5c25dadb4b2aefd57a6cf7.zip
sys-process/bashtop: New package
New package for resource monitor Signed-off-by: Ashwin A Kumar <zshzero@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/15787 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/bashtop/Manifest1
-rw-r--r--sys-process/bashtop/bashtop-0.9.23.ebuild31
-rw-r--r--sys-process/bashtop/metadata.xml13
3 files changed, 45 insertions, 0 deletions
diff --git a/sys-process/bashtop/Manifest b/sys-process/bashtop/Manifest
new file mode 100644
index 000000000000..3d09e2ef1f45
--- /dev/null
+++ b/sys-process/bashtop/Manifest
@@ -0,0 +1 @@
+DIST bashtop-0.9.23.tar.gz 443555 BLAKE2B 138a77191e8c0d7c060ccaa65bc09465bf9a24f45bb08822b687ad8a6922fdee887e46f88b66b5e069ce025f66ac888feea979836978db58edfc2863535e450a SHA512 4c9fda09113e0551112ebff61f3cb93d9f17ddbe36b9c7621096f1656585bed6b0312b5ccdff7a8331ccd7b356c0e865fb40c7ba4a89946d77ca23b9fd65440d
diff --git a/sys-process/bashtop/bashtop-0.9.23.ebuild b/sys-process/bashtop/bashtop-0.9.23.ebuild
new file mode 100644
index 000000000000..cdca7f1c1cd7
--- /dev/null
+++ b/sys-process/bashtop/bashtop-0.9.23.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+DESCRIPTION="Resource monitor that shows usage and stats"
+HOMEPAGE="https://github.com/aristocratos/bashtop"
+SRC_URI="https://github.com/aristocratos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DOCS=( README.md )
+
+DEPEND="${RDEPEND}"
+RDEPEND=""
+
+src_prepare() {
+ default
+ sed -i -e 's/local//g' Makefile || die "Editing path failed"
+ sed -i -e '/DOCDIR/d' Makefile || die "Removing doc folder failed"
+}
+
+pkg_postinst() {
+ optfeature "CPU Temperature support" sys-apps/lm-sensors
+ optfeature "Update news and Theme Downlaod feature" net-misc/curl
+ optfeature "Disk Stats support" app-admin/sysstat
+}
diff --git a/sys-process/bashtop/metadata.xml b/sys-process/bashtop/metadata.xml
new file mode 100644
index 000000000000..27c5d47a6d32
--- /dev/null
+++ b/sys-process/bashtop/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zshzero@protonmail.com</email>
+ <name>Ashwin A Kumar</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>dolsen@gentoo.org</email>
+ <name>Brian Dolbec</name>
+ </maintainer>
+</pkgmetadata>