net-nntp/nzb-monkey-go: new package, add 0.1.12

This commit is contained in:
SigHunter 2024-03-24 21:57:44 +00:00 committed by Parona
parent c502da07dc
commit 167001d415
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST nzb-monkey-go-0.1.12-deps.tar.xz 19138820 BLAKE2B fc61c50d7acaf0ee1da06b829287b992342e29533b0671ef7cf28ac878a265d0331da66df939fa6574b2ad036498a5c069c146ec32a4fbc3b1d3c5863fd20f7a SHA512 65858d21e927b1387148c9e44ddf0e00219ac09ada74e9a146f886ab8c82a62f2519f5f282c3b5cf866153f48b2d10f6bd4bd8d6db411e0400480e44e2d4b80e
DIST nzb-monkey-go-0.1.12.tar.gz 606652 BLAKE2B 447ad2aece8cb24772b48d23f6fe823e571727d15f989ca54a4a612cf4a02edf53e2f423796e0494acf8785e2a042abd4235628481a38c3b9c632d184485493f SHA512 64e31cdfc3a5de51205eea484cc96d693c7c30bbe45b0ad32d8355713dfd6fc9acc60b86e3556f608885a4c1ada68576a18a36a0c81c3bbade14ce78ba09dced

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">Tensai75/nzb-monkey-go</remote-id>
</upstream>
<longdescription>
nzb-monkey-go is a Golang rewrite of the NZB Monkey, the reference
implementation of how to handle a NZBLNK-URI. nzb-monkey-go also includes
the NZBSearcher functionality, so besides the nzb search engines it can
also search directly on the news server and create the NZB file from the
article headers.
</longdescription>
</pkgmetadata>

View File

@ -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
}