dev-go/gofumpt - 0.9.2 (gbrlsnchs)

Search

Package Information

Description:
A stricter gofmt
Homepage:
https://github.com/mvdan/gofumpt
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.9.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Gabriel Sanches
# Distributed under the terms of the ISC License

EAPI=8

inherit go-module

DESCRIPTION="A stricter gofmt"
HOMEPAGE="https://github.com/mvdan/gofumpt"

SRC_URI="
	${HOMEPAGE}/archive/refs/tags/v${PV}.tar.gz
	https://github.com/gbrlsnchs/ebuilds-archive/releases/download/${P}/${P}-vendor.tar.xz
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	ego build -o ${PN} -v -ldflags "-X 'main.version=${PV}'" .
}

src_install() {
	dobin ${PN}

	default
}

Manifest for 0.9.2

Type File Size Source URLs
DIST gofumpt-0.9.2-vendor.tar.xz 465004 bytes https://github.com/gbrlsnchs/ebuilds-archive/releases/download/gofumpt-0.9.2/gofumpt-0.9.2-vendor.tar.xz