dev-util/shfmt: tidy shfmt ebuilds

This commits fixes the manifest of the shfmt 3.5.0 ebuild; along with some other general tidying of all the shfmt ebuilds.

Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>
This commit is contained in:
Randall T. Vasquez
2022-05-22 07:40:03 -07:00
parent 9c2e2c9937
commit 78a3d626d4
3 changed files with 6 additions and 7 deletions

View File

@@ -3,6 +3,8 @@
EAPI=8
inherit go-module
DESCRIPTION="Shell script formatter"
HOMEPAGE="https://github.com/mvdan/sh"
if [[ ${PV} == *9999 ]]; then
@@ -10,12 +12,11 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/mvdan/sh.git"
RESTRICT="fetch mirror test"
else
inherit go-module
SRC_URI="https://github.com/mvdan/sh/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ran-dall/portage-deps/raw/master/${P}-deps.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
RESTRICT="mirror test"
S="${WORKDIR}/${PN/fmt}-${PV}"
S="${WORKDIR}/${PN//fmt}-${PV}"
fi
LICENSE="MIT"
@@ -35,7 +36,6 @@ src_unpack() {
ego get
popd || die "location reset from module building failed"
else
mv mvdan-sh-* || die "correct placement of directory failed"
go-module_src_unpack
fi
default