1 |
commit: f95334beb5ec91c6f1356161415ce5691f76b6b3 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 3 10:49:33 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 10:51:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95334be |
7 |
|
8 |
sys-process/btop: new package, add 1.2.7, migrate from ::guru |
9 |
|
10 |
Closes: https://bugs.gentoo.org/849050 |
11 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
12 |
|
13 |
sys-process/btop/Manifest | 1 + |
14 |
sys-process/btop/btop-1.2.7.ebuild | 32 ++++++++++++++++++++++++++++++++ |
15 |
sys-process/btop/metadata.xml | 16 ++++++++++++++++ |
16 |
3 files changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000000..7ac2b8e4e579 |
21 |
--- /dev/null |
22 |
+++ b/sys-process/btop/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST btop-1.2.7.tar.gz 974883 BLAKE2B c23c0b13ee6749e30ca8a7624f27bac8dc81466ff957a042c9c5e4f7c31b81fc6c15d6b214186e4baed474263ea96a3ffc584783cd098f3ebcae9e34bd75a955 SHA512 c29e1e3d098ef29c710bf76c1ef20e54feceb490aa59d20475a7083a276d422a32f4b4ff423a121aa4aa7f83389980e553e1f78c165f111fe00ccac693d96447 |
25 |
|
26 |
diff --git a/sys-process/btop/btop-1.2.7.ebuild b/sys-process/btop/btop-1.2.7.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..44d1c8204f7d |
29 |
--- /dev/null |
30 |
+++ b/sys-process/btop/btop-1.2.7.ebuild |
31 |
@@ -0,0 +1,32 @@ |
32 |
+# Copyright 2021-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DESCRIPTION="A monitor of resources" |
38 |
+HOMEPAGE="https://github.com/aristocratos/btop" |
39 |
+SRC_URI="https://github.com/aristocratos/btop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="Apache-2.0" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ # btop installs README.md to /usr/share/btop by default |
48 |
+ sed -i '/^.*cp -p README.md.*$/d' Makefile || die |
49 |
+} |
50 |
+ |
51 |
+src_compile() { |
52 |
+ # Disable btop optimization flags, since we have our flags in CXXFLAGS |
53 |
+ emake OPTFLAGS="" |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ emake \ |
58 |
+ PREFIX="${EPREFIX}/usr" \ |
59 |
+ DESTDIR="${D}" \ |
60 |
+ install |
61 |
+ |
62 |
+ dodoc README.md CHANGELOG.md |
63 |
+} |
64 |
|
65 |
diff --git a/sys-process/btop/metadata.xml b/sys-process/btop/metadata.xml |
66 |
new file mode 100644 |
67 |
index 000000000000..39c49a66a7e1 |
68 |
--- /dev/null |
69 |
+++ b/sys-process/btop/metadata.xml |
70 |
@@ -0,0 +1,16 @@ |
71 |
+<?xml version="1.0" encoding="UTF-8"?> |
72 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
73 |
+<pkgmetadata> |
74 |
+ <maintainer type="person" proxied="yes"> |
75 |
+ <email>nex+b-g-o@××××××.de</email> |
76 |
+ <name>Adrian Schollmeyer</name> |
77 |
+ </maintainer> |
78 |
+ <maintainer type="project" proxied="proxy"> |
79 |
+ <email>proxy-maint@g.o</email> |
80 |
+ <name>Proxy Maintainers</name> |
81 |
+ </maintainer> |
82 |
+ <upstream> |
83 |
+ <remote-id type="github">aristocratos/btop</remote-id> |
84 |
+ <bugs-to>https://github.com/aristocratos/btop/issues</bugs-to> |
85 |
+ </upstream> |
86 |
+</pkgmetadata> |