blob: 5835e116e12d2c00726119d749b4d66d46b5400f (
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
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A utility to make floating windows visible across all workspaces in niri"
HOMEPAGE="https://github.com/probeldev/niri-float-sticky"
SRC_URI="
https://github.com/probeldev/niri-float-sticky/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz
"
LICENSE="MIT BSD"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ego build -ldflags "-X main.version=v${PV}" -o ${PN} .
}
src_install() {
dobin ${PN}
einstalldocs
}
|