commit:     b05215ac5fbec4cad9cde9283016f1d686546c2d
Author:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Jul 31 17:20:16 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 17:23:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b05215ac

x11-misc/greenclip-bin: add new package

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>

 x11-misc/greenclip-bin/Manifest                 |  2 ++
 x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild | 31 +++++++++++++++++++++++++
 x11-misc/greenclip-bin/metadata.xml             | 10 ++++++++
 3 files changed, 43 insertions(+)

diff --git a/x11-misc/greenclip-bin/Manifest b/x11-misc/greenclip-bin/Manifest
new file mode 100644
index 000000000..57cd6d744
--- /dev/null
+++ b/x11-misc/greenclip-bin/Manifest
@@ -0,0 +1,2 @@
+DIST greenclip-bin-4.2 4184360 BLAKE2B 
eef17446ae85c76fff1386097baff5665753e4dfeb01455b7e19935753eaa1e09a9a90e1fa0d4ceb91d0a5439ed079ffb8c3aa68ef587a74f5e338188f6c65cd
 SHA512 
9861b208bcb358a47f4c3afcde7b164e6cb3db9d599bab0fbb0f55254601551cb0a8ee486c496d9e30aa373ed596fdd159ac7eac57211b3a75a66b5629b06f06
+DIST greenclip-bin-4.2.README.md 5105 BLAKE2B 
6deff08b3dfc75ba257a5ebfa0ddfc80450fd13c273aefd92fd9ce58e43a01bd59e69ee45f1401596a216ce30d792ff13b043ab213cfd522846450547af1c9e5
 SHA512 
7a06bc581a9dbbc76d7b6c2039ca9f6781dfbf0d492fb42bfc90a2189be5643877132b78284593e8adfc70fea76bc65e329429248aa77d96c3017d612380841f

diff --git a/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild 
b/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild
new file mode 100644
index 000000000..061f97958
--- /dev/null
+++ b/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+HOMEPAGE="https://github.com/erebe/greenclip";
+DESCRIPTION="Simple clipboard manager to be integrated with rofi"
+
+MY_PN=${PN%-bin}
+SRC_URI="
+       https://github.com/erebe/${MY_PN}/releases/download/v${PV}/${MY_PN} -> 
${P}
+       https://raw.githubusercontent.com/erebe/${MY_PN}/v${PV}/README.md -> 
${P}.README.md
+"
+
+KEYWORDS="~amd64"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+QA_PREBUILT="/usr/bin/${MY_PN}"
+S="${WORKDIR}"
+
+src_install() {
+       newbin "${DISTDIR}/${P}" "${MY_PN}"
+       newdoc "${DISTDIR}/${P}.README.md" README.md
+}
+
+pkg_postinst() {
+       elog "Please read /usr/share/doc/${PF}/README.md.bz2"
+       elog "on how to use rofi/dmenu/fzf as a menu for the clipboard."
+}

diff --git a/x11-misc/greenclip-bin/metadata.xml 
b/x11-misc/greenclip-bin/metadata.xml
new file mode 100644
index 000000000..718134bf3
--- /dev/null
+++ b/x11-misc/greenclip-bin/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">erebe/greenclip</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to