x11-misc/greenclip-bin: add 4.3, drop 4.2

Signed-off-by: Sravan Balaji <balajsra@umich.edu>
This commit is contained in:
Sravan Balaji
2025-04-30 17:18:02 -04:00
parent 4238488e43
commit 7f0c15a6c9
4 changed files with 22 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
BDEPEND=virtual/pkgconfig
DEFINED_PHASES=compile install
DESCRIPTION=Simple clipboard manager to be integrated with rofi - Static binary available
EAPI=8
HOMEPAGE=https://github.com/erebe/greenclip
INHERIT=systemd
IUSE=systemd
KEYWORDS=~amd64
LICENSE=BSD
RDEPEND=x11-misc/rofi
SLOT=0
SRC_URI=https://github.com/erebe/greenclip/releases/download/v4.3/greenclip-v4.3 -> greenclip-bin-4.3
_eclasses_=toolchain-funcs f9d71a6efe9d083aec750dd13968e169 systemd a964c0cbe818b5729da1dbfcee5be861
_md5_=8e0513f207b3e5ee00d288dfdba39567

View File

@@ -0,0 +1 @@
DIST greenclip-bin-4.3 9086872 BLAKE2B bd3c0adc6bb9d7ac63bf5fe3008e0a4c95c4e1d0aee2fe3dedea53a297df931134eee67c983cfbfc2aba68b145c8db210a370263484d9e21eb63a96bc2439c97 SHA512 969f7d031437c6e71974e130fc6dab62be26da0733960d993c03d2b91d25ecc047f665b975611b6629fa61df1457519fbcc6550e8bd2d1d31e6f6a0ed29623b5

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,25 +7,20 @@ inherit systemd
DESCRIPTION="Simple clipboard manager to be integrated with rofi - Static binary available"
HOMEPAGE="https://github.com/erebe/greenclip"
SRC_URI="https://github.com/erebe/greenclip/releases/download/v${PV}/greenclip-v${PV} -> ${P}"
LICENSE="GPL"
S="${WORKDIR}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="systemd"
BDEPEND="
net-misc/wget
"
RDEPEND="
x11-misc/rofi
"
S=${WORKDIR}
pkg_setup() {
cd ${WORKDIR}
wget -O greenclip https://github.com/erebe/greenclip/releases/download/v${PV}/greenclip-v${PV}
}
QA_PREBUILT="*"
src_compile() {
einfo "Skipping compile step"
@@ -38,5 +33,6 @@ src_install() {
elog "Run \`systemctl --user enable --now greenclip.service\` to enable greenclip systemd user service."
fi
cp "${DISTDIR}/${P}" greenclip || die
dobin greenclip
}