mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0305 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
38 lines
773 B
Bash
38 lines
773 B
Bash
# Copyright 2024 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"
|
|
|
|
# Using a dependency tarball as per https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html
|
|
DEPS_URI="https://gitlab.com/freijon_gentoo/${CATEGORY}/${PN}/-/raw/main/${P}-deps.tar.xz"
|
|
SRC_URI+=" ${DEPS_URI}"
|
|
|
|
LICENSE="BSD GPL-3 MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND="
|
|
>=gui-apps/wl-clipboard-2
|
|
gui-libs/wlroots
|
|
"
|
|
|
|
DOCS=(
|
|
"README.md"
|
|
)
|
|
|
|
src_compile() {
|
|
ego build .
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN}
|
|
doman docs/${PN}.1
|
|
einstalldocs
|
|
}
|