diff options
Diffstat (limited to 'dev-vcs/ghq')
-rw-r--r-- | dev-vcs/ghq/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/ghq/ghq-1.6.2.ebuild | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-vcs/ghq/Manifest b/dev-vcs/ghq/Manifest new file mode 100644 index 0000000..b917adf --- /dev/null +++ b/dev-vcs/ghq/Manifest @@ -0,0 +1,2 @@ +DIST ghq-1.6.2-vendor.tar.xz 825956 BLAKE2B 9b5f581e85940bbb25fe5b27d759a2393024e6b84f346c318c3715c4ca25a5da25906855284bd6f706f6a9dba78eac84a409bb8476c4d9deed73d73ead3a3c4d SHA512 ffd8fa82202d6b4f33a50a13dc0468a58a8e7e51791c3faa01db7544ae6e16837008e5ec48827a8271356de100d1effead865bcc847ec35cc7a668eb8d53d494 +DIST ghq-1.6.2.tar.gz 54005 BLAKE2B 5a28ccb29903d86f526bc6cb74d0c3fbd625b4daac02e723b9721e7ec28f361730f7c113dc67efa3b46a69aa0c746d3121291ae1bddc985d692e62eece39bc56 SHA512 2fd6237005a587c11bad34741c02d543620042e61fc6cf612f9ff4d281f0572a4a42f16c7c00eb648fbeb51574635e22384f8c1f925c23b83069c7290e00faf4 diff --git a/dev-vcs/ghq/ghq-1.6.2.ebuild b/dev-vcs/ghq/ghq-1.6.2.ebuild new file mode 100644 index 0000000..8c62f41 --- /dev/null +++ b/dev-vcs/ghq/ghq-1.6.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Remote repository management made easy" +HOMEPAGE="https://github.com/x-motemen/ghq" +BDEPEND=">=dev-lang/go-1.22.5" +SRC_URI="https://github.com/x-motemen/ghq/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz" + +LICENSE="MIT" +LICENSE+=" BSD-2 BSD" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build . +} + +src_test() { + ego test ./... +} + +src_install() { + dobin ghq +} |