summaryrefslogtreecommitdiff
path: root/net-nntp/nzb-monkey-go/nzb-monkey-go-0.3.3-r1.ebuild
blob: 19e1f74b84c7e800a072f40d212969ce9b40e623 (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 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Golang version of the NZB Monkey with included NZB direct search"
HOMEPAGE="https://github.com/Tensai75/nzb-monkey-go"
SRC_URI="
	https://github.com/Tensai75/nzb-monkey-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://gitlab.com/api/v4/projects/64330835/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
"

LICENSE="MIT"
# vendored licenses
LICENSE+=" Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND=">=dev-lang/go-1.25.0"

src_compile() {
	ego build -ldflags="-X main.appVersion=${PV}"
}

src_install() {
	dobin nzb-monkey-go
	einstalldocs
}