summaryrefslogtreecommitdiff
blob: 08751d6668996f7a1d636b11617c386852cc32c5 (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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit systemd

DESCRIPTION="Clipboard management using dmenu"
HOMEPAGE="https://github.com/cdown/clipmenu"
SRC_URI="https://github.com/cdown/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
	x11-misc/clipnotify
	x11-misc/dmenu
	x11-misc/xsel
"

src_install() {
	local binfile
	for binfile in clipdel clipfsck clipmenu clipmenud; do
		dobin ${binfile}
	done

	systemd_douserunit "init/clipmenud.service"
}