Files
guru/gui-apps/dgop/dgop-0.2.2.ebuild
dacyberduck cd9802fcfb gui-apps/dgop: new package, add 0.2.2
Signed-off-by: dacyberduck <thecyberduck@tutanota.com>
2026-05-02 22:06:55 +05:30

30 lines
578 B
Bash

# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="API & CLI for System & Process Monitoring "
HOMEPAGE="https://github.com/AvengeMedia/dgop"
SRC_URI="https://github.com/AvengeMedia/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.22"
RESTRICT="strip"
src_configure() {
sed -i '/^GOFLAGS=/d' "${S}/Makefile"
sed -i "s/^VERSION=.*$/VERSION=\"${PV}\"/" "${S}/Makefile"
default
}
src_install() {
dobin "${S}/bin/${PN}"
}