From eb23811a13cfb33670454e9f1f62753abfd10311 Mon Sep 17 00:00:00 2001 From: SigHunter Date: Sat, 7 Sep 2024 23:01:54 +0200 Subject: [PATCH] net-nntp/nzb-monkey-go: add 0.1.16 Signed-off-by: SigHunter --- net-nntp/nzb-monkey-go/Manifest | 2 ++ .../nzb-monkey-go/nzb-monkey-go-0.1.16.ebuild | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 net-nntp/nzb-monkey-go/nzb-monkey-go-0.1.16.ebuild diff --git a/net-nntp/nzb-monkey-go/Manifest b/net-nntp/nzb-monkey-go/Manifest index 598c526..5b6dcc4 100644 --- a/net-nntp/nzb-monkey-go/Manifest +++ b/net-nntp/nzb-monkey-go/Manifest @@ -2,3 +2,5 @@ DIST nzb-monkey-go-0.1.14-deps.tar.xz 20098532 BLAKE2B 60d44e1b195708ddeb117a5e6 DIST nzb-monkey-go-0.1.14.tar.gz 603420 BLAKE2B 518617e085e96c3c36ad7b7f75521ba61cdf6610125df56db580189ab91300cfe829d64762072a756632061bfe3060ff1239fc7979bff94ed936f38de3ee4ade SHA512 d6db5d675e3d0bd7b2b590fc8e672839b5fc9f7d30e39a09b325319a15ddcc291f520b06571b86fe8bd023dc0f125f3bc845850502ae156001809301b7aa1b80 DIST nzb-monkey-go-0.1.15-deps.tar.xz 20093592 BLAKE2B c92c9f1e9b9b2e14540b044e7dba144a08054558787a6524ceed0fc5b2aa69844723e2bca0d4d5fdfc72a5a1d3ae1ae2114eb2603d8bb963cb4530f36b811556 SHA512 d9a2cc7b25c3bc135c86c1f36689fab35c61f41787c8581e81eea45629719ba6fc90d531f4b67d6aab64f0634c0c0411bb56ef00dbe0b00b12b95834812e10e1 DIST nzb-monkey-go-0.1.15.tar.gz 603475 BLAKE2B c71c5bc4814fc5248f5d58b1611cf0b6891e3d6aa4f3c2248417d411494362fdf148ba3bd9af9a30e0f03a7135226ff25c9adc0c0d9bdf9c7dbe787d05a5d4bf SHA512 8ca2019bc01ae997d6a4c6ab0241cef98a45d2be0d5fb5877af1f17894e39dbc4444ea1491ca5d83f24e237bd2fdf8188b4ce93fa41f33b2c2588fb81b2bd18d +DIST nzb-monkey-go-0.1.16-deps.tar.xz 20887516 BLAKE2B aa63a96686dab538158005cb20a128cce64292b228621111f20dd56171c43ab1e60314b74217586eb61fce31d79c79153560bea09eae1d7c2de97573183d6468 SHA512 974c51b4cd5876713c52717eb802a676a90dcd56657939f94bcfb550940fa7262bc125f0e6063e60c0ff5c94446a59352ffd3cceacd31796f3dba72f003be872 +DIST nzb-monkey-go-0.1.16.tar.gz 604216 BLAKE2B d494be3e737421bb1556355b9bdb61cb8fa702334deab0b243df66b782b95af760612a837ec33896635e1d25588933aa54580d48ff6bc91b20ad2c5ec56f7c16 SHA512 b2409c031b85c4811390f090ccd1e146d8c6d32d8f5a48a1d533610157f9398989e1841bfdc6dcdda95229c75be942426376af613eb6e327ee0a245fd7d7a54c diff --git a/net-nntp/nzb-monkey-go/nzb-monkey-go-0.1.16.ebuild b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.1.16.ebuild new file mode 100644 index 0000000..92e54b4 --- /dev/null +++ b/net-nntp/nzb-monkey-go/nzb-monkey-go-0.1.16.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 +}