Add a test build

This commit is contained in:
Sam Therapy 2023-11-08 23:02:16 +01:00
parent 79b8a4915d
commit eff77d8009
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 29 additions and 0 deletions

View file

@ -1 +1,5 @@
DIST swag-1.16.2-vendor.tar.xz 531512 BLAKE2B 6631be1256f19f46c5e724375c2985210539b15f3c80d06012a7e357886822754f9c6bb7cfbffa2221123f7a99f6785bce2eba869178b018c6d01a2dc6f59438 SHA512 b0dfac2746e04dda8665b93a733bcb1f0d58eaabc950d61d153ebde468b6f58e81e7c358ac5f6a037c3c1a32ebecd29b7db02d43fe6f88ddd418c544998f481a
DIST swag-1.16.2.tar.gz 283489 BLAKE2B bedc61a4929c5846092976d9de05bd47ad25506c1fa4710cdcabcc2c43472c6bb2fbea9b2664c39ae47ae419645102832fc1c082dc66e8264ffdab09f62b8459 SHA512 fcf1f695435c401ab4963e3abbf9747965d02485d2818c38a14912562744d7814b0d79e4237ffb6ee70ab0a04d5dbc192510436f7c3b06186add8533d25c5c01
EBUILD swag-1.16.2.ebuild 557 BLAKE2B e582a89a46ea6b174acd5d610712f00c7480f7446cfb46e67ac6bf8fae2d9536e022c3a2dc6552d213e106c811a1a9f46df21765f2aa1e3a4625452f2ab1503a SHA512 49e89be34d546c4031ce208e9628f37c1b496a026e542c175566df80c9c10c26016649310aec69c7854a65d8f7ed0bc11de4dcb4b3cd0725fe9dc6bd222775ba
EBUILD swag-9999.ebuild 526 BLAKE2B a55ff481641fc3bd12860d584ef375a78f1303d8ea8a8dd6f30f8d1fe0c6e7c3de945ef6749e878eeb7733618bac1069d3e57a3cbddf14811048ea48c329b1a5 SHA512 21c31adfb4178eb70eb757f38d1f8328d993dba8c17b40c1c7bb0b48c2612c12d164165fa75486d8b9ac9aa7f8cc6c08e56946f0a0e7ad2f536cde50d6e77a76
MISC swag-1.16.2-vendor.tar.xz 531512 BLAKE2B 6631be1256f19f46c5e724375c2985210539b15f3c80d06012a7e357886822754f9c6bb7cfbffa2221123f7a99f6785bce2eba869178b018c6d01a2dc6f59438 SHA512 b0dfac2746e04dda8665b93a733bcb1f0d58eaabc950d61d153ebde468b6f58e81e7c358ac5f6a037c3c1a32ebecd29b7db02d43fe6f88ddd418c544998f481a

View file

@ -0,0 +1,25 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="command-line DNS query client"
HOMEPAGE="https://github.com/swaggo/swag"
SRC_URI="https://github.com/swaggo/swag/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/api/packages/packaging/generic/portage/deps/${P}-vendor.tar.xz"
LICENSE="MIT Apache-2.0 BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
src_compile() {
ego build ./cmd/swag
}
src_install() {
dobin ./${PN}
einstalldocs
}