blob: 506fb2404619023671b515772c2148748410ab7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
MY_PN=${PN%-bin}
DESCRIPTION="Simple clipboard manager to be integrated with rofi"
HOMEPAGE="https://github.com/erebe/greenclip"
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
"
S="${WORKDIR}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="-* ~amd64"
QA_PREBUILT="/usr/bin/${MY_PN}"
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."
}
|