Add greenclip package and add as dependency to dwm-flexipatch
This commit is contained in:
parent
f998473fb0
commit
75be01bf7e
41
x11-misc/greenclip/greenclip-4.2.ebuild
Normal file
41
x11-misc/greenclip/greenclip-4.2.ebuild
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Simple clipboard manager to be integrated with rofi - Static binary available"
|
||||
HOMEPAGE="https://github.com/erebe/greenclip"
|
||||
|
||||
LICENSE="GPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
IUSE="systemd"
|
||||
DEPEND="
|
||||
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}
|
||||
wget -O greenclip.service https://aur.archlinux.org/cgit/aur.git/plain/greenclip.service?h=rofi-greenclip
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "Skipping compile step"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use systemd ; then
|
||||
insinto /usr/lib/systemd/user/
|
||||
doins greenclip.service
|
||||
elog "Run \`systemctl --user enable --now greenclip.service\` to enable greenclip systemd user service."
|
||||
fi
|
||||
|
||||
dobin greenclip
|
||||
}
|
@ -27,6 +27,7 @@ RDEPEND="
|
||||
x11-misc/polybar-dwm-module
|
||||
x11-misc/deadd-notification-center-bin
|
||||
x11-misc/rofi
|
||||
x11-misc/greenclip
|
||||
x11-terms/kitty
|
||||
"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user