mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-util/shfmt: tidy ebuilds
This commit tidys the shfmt ebuilds further. Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>
This commit is contained in:
@@ -26,16 +26,13 @@ IUSE="+man"
|
||||
BDEPEND="man? ( app-text/scdoc )"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
pushd ${P}/cmd/shfmt || die "location change for module building failed"
|
||||
ego get
|
||||
popd || die "location reset from module building failed"
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
else
|
||||
go-module_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
@@ -26,16 +26,13 @@ IUSE="+man"
|
||||
BDEPEND="man? ( app-text/scdoc )"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
pushd ${P}/cmd/shfmt || die "location change for module building failed"
|
||||
ego get
|
||||
popd || die "location reset from module building failed"
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
else
|
||||
go-module_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user