commit:     2905f6a4850e4dcf6c5c25dadb4b2aefd57a6cf7
Author:     zshzero <ashwinkumar3098 <AT> gmail <DOT> com>
AuthorDate: Thu May 14 06:45:33 2020 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 18:52:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2905f6a4

sys-process/bashtop: New package

New package for resource monitor
Signed-off-by: Ashwin A Kumar <zshzero <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15787

Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>

 sys-process/bashtop/Manifest              |  1 +
 sys-process/bashtop/bashtop-0.9.23.ebuild | 31 +++++++++++++++++++++++++++++++
 sys-process/bashtop/metadata.xml          | 13 +++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/sys-process/bashtop/Manifest b/sys-process/bashtop/Manifest
new file mode 100644
index 00000000000..3d09e2ef1f4
--- /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 00000000000..cdca7f1c1cd
--- /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 00000000000..27c5d47a6d3
--- /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>[email protected]</email>
+        <name>Ashwin A Kumar</name>
+   </maintainer>
+   <maintainer type="person">
+        <email>[email protected]</email>
+        <name>Brian Dolbec</name>
+   </maintainer>
+</pkgmetadata>

Reply via email to