summaryrefslogtreecommitdiff
path: root/gui-apps/clipman/clipman-1.6.5-r1.ebuild
blob: c8df0f8c68a166e0614cef2249ec7c671ea6e484 (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
32
33
34
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="A basic clipboard manager for Wayland."
HOMEPAGE="https://github.com/chmouel/clipman/"
SRC_URI="https://github.com/chmouel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz"

LICENSE="BSD GPL-3 MIT"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	>=gui-apps/wl-clipboard-2
"
BDEPEND="
	>=dev-lang/go-1.21
"

src_compile() {
	ego build .
}

src_install() {
	dobin ${PN}

	doman docs/${PN}.1
	local DOCS=("README.md")
	einstalldocs
}