Gentoo Archives: gentoo-commits

From: Nickolas Raymond Kaczynski <nrk@×××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/greenclip-bin/
Date: Sat, 31 Jul 2021 17:23:31
Message-Id: 1627752204.b05215ac5fbec4cad9cde9283016f1d686546c2d.nrk@gentoo
1 commit: b05215ac5fbec4cad9cde9283016f1d686546c2d
2 Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
3 AuthorDate: Sat Jul 31 17:20:16 2021 +0000
4 Commit: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
5 CommitDate: Sat Jul 31 17:23:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b05215ac
7
8 x11-misc/greenclip-bin: add new package
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
12
13 x11-misc/greenclip-bin/Manifest | 2 ++
14 x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild | 31 +++++++++++++++++++++++++
15 x11-misc/greenclip-bin/metadata.xml | 10 ++++++++
16 3 files changed, 43 insertions(+)
17
18 diff --git a/x11-misc/greenclip-bin/Manifest b/x11-misc/greenclip-bin/Manifest
19 new file mode 100644
20 index 000000000..57cd6d744
21 --- /dev/null
22 +++ b/x11-misc/greenclip-bin/Manifest
23 @@ -0,0 +1,2 @@
24 +DIST greenclip-bin-4.2 4184360 BLAKE2B eef17446ae85c76fff1386097baff5665753e4dfeb01455b7e19935753eaa1e09a9a90e1fa0d4ceb91d0a5439ed079ffb8c3aa68ef587a74f5e338188f6c65cd SHA512 9861b208bcb358a47f4c3afcde7b164e6cb3db9d599bab0fbb0f55254601551cb0a8ee486c496d9e30aa373ed596fdd159ac7eac57211b3a75a66b5629b06f06
25 +DIST greenclip-bin-4.2.README.md 5105 BLAKE2B 6deff08b3dfc75ba257a5ebfa0ddfc80450fd13c273aefd92fd9ce58e43a01bd59e69ee45f1401596a216ce30d792ff13b043ab213cfd522846450547af1c9e5 SHA512 7a06bc581a9dbbc76d7b6c2039ca9f6781dfbf0d492fb42bfc90a2189be5643877132b78284593e8adfc70fea76bc65e329429248aa77d96c3017d612380841f
26
27 diff --git a/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild b/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild
28 new file mode 100644
29 index 000000000..061f97958
30 --- /dev/null
31 +++ b/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild
32 @@ -0,0 +1,31 @@
33 +# Copyright 2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +HOMEPAGE="https://github.com/erebe/greenclip"
39 +DESCRIPTION="Simple clipboard manager to be integrated with rofi"
40 +
41 +MY_PN=${PN%-bin}
42 +SRC_URI="
43 + https://github.com/erebe/${MY_PN}/releases/download/v${PV}/${MY_PN} -> ${P}
44 + https://raw.githubusercontent.com/erebe/${MY_PN}/v${PV}/README.md -> ${P}.README.md
45 +"
46 +
47 +KEYWORDS="~amd64"
48 +LICENSE="BSD"
49 +SLOT="0"
50 +IUSE=""
51 +
52 +QA_PREBUILT="/usr/bin/${MY_PN}"
53 +S="${WORKDIR}"
54 +
55 +src_install() {
56 + newbin "${DISTDIR}/${P}" "${MY_PN}"
57 + newdoc "${DISTDIR}/${P}.README.md" README.md
58 +}
59 +
60 +pkg_postinst() {
61 + elog "Please read /usr/share/doc/${PF}/README.md.bz2"
62 + elog "on how to use rofi/dmenu/fzf as a menu for the clipboard."
63 +}
64
65 diff --git a/x11-misc/greenclip-bin/metadata.xml b/x11-misc/greenclip-bin/metadata.xml
66 new file mode 100644
67 index 000000000..718134bf3
68 --- /dev/null
69 +++ b/x11-misc/greenclip-bin/metadata.xml
70 @@ -0,0 +1,10 @@
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">
75 + <email>nrk@×××××××.org</email>
76 + </maintainer>
77 + <upstream>
78 + <remote-id type="github">erebe/greenclip</remote-id>
79 + </upstream>
80 +</pkgmetadata>