From 408b524a14f9212f68f09910bd0ae15b6fc25161 Mon Sep 17 00:00:00 2001 From: SigHunter Date: Tue, 9 Jul 2024 10:12:42 +0200 Subject: [PATCH] net-nntp/nzb-monkey-go: add 0.1.14 Signed-off-by: SigHunter --- net-nntp/nzb-monkey-go/Manifest | 2 ++ .../nzb-monkey-go/nzb-monkey-go-0.1.14.ebuild | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 net-nntp/nzb-monkey-go/nzb-monkey-go-0.1.14.ebuild diff --git a/net-nntp/nzb-monkey-go/Manifest b/net-nntp/nzb-monkey-go/Manifest index 0ccbb13..289584d 100644 --- a/net-nntp/nzb-monkey-go/Manifest +++ b/net-nntp/nzb-monkey-go/Manifest @@ -1,2 +1,4 @@ DIST nzb-monkey-go-0.1.13-deps.tar.xz 20083344 BLAKE2B cbb453ceeda25d6d80120ef3de27815aa0aa20e34752b1dd606f7ae0be2cf6ff51342847c65cf038dbc6142835b71909f247f2b0555482314b3f61115372e676 SHA512 d7c07f1c56a2bd924630b5d8328e8f18587755b10ff83e26ae0eca79a5f4dadd468ec4c2ed2070005e1d01f5fa9073cc5224f03317a85e929c6608ea4cd08efd DIST nzb-monkey-go-0.1.13.tar.gz 603032 BLAKE2B ca1db66d312c01d677dc0b8ba6cd3e7ecd79a4cc6e6652524efa01e3c89f48aece8e4043c15da2fd431257c2bbd67cea407c98e08c262aaafb95c7ffdac29b41 SHA512 6e73af83de71dfab1fb2bb98aa05626d8f0363b6e4885700ebced118361b84549abbecd207ab6ec212f3191087e18269873c6bcfbe7a40c7c2b992a5eafa65b1 +DIST nzb-monkey-go-0.1.14-deps.tar.xz 20098532 BLAKE2B 60d44e1b195708ddeb117a5e676fd73fd26c17629213e5f3a3ea2c77cb82220b3ad955dfdf8d81a425b5beccb6c845852278d4eb923688dbb55db31f7dec0c7c SHA512 c35809c8c67b0e4ff6fc234c94a87a813f1c44fed3e27400b499f9aee14ea3367cb19fc050571581a0485fcb29aca2fabadf93083a41b949db92bef26eb7bcd6 +DIST nzb-monkey-go-0.1.14.tar.gz 603420 BLAKE2B 518617e085e96c3c36ad7b7f75521ba61cdf6610125df56db580189ab91300cfe829d64762072a756632061bfe3060ff1239fc7979bff94ed936f38de3ee4ade SHA512 d6db5d675e3d0bd7b2b590fc8e672839b5fc9f7d30e39a09b325319a15ddcc291f520b06571b86fe8bd023dc0f125f3bc845850502ae156001809301b7aa1b80 diff --git a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.1.14.ebuild b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.1.14.ebuild new file mode 100644 index 0000000..92e54b4 --- /dev/null +++ b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.1.14.ebuild @@ -0,0 +1,28 @@ +# Copyright 2024 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/37881342/packages/generic/${PN}/${PV}/${P}-deps.tar.xz +" + +LICENSE="MIT" +# vendored licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build -ldflags="-X main.appVersion=${PV}" +} + +src_install() { + dobin nzb-monkey-go + einstalldocs +}