aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/make.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-13 15:23:41 +0900
committerOphestra <cat@gensokyo.uk>2026-04-13 18:02:57 +0900
commit83b0e32c550bf47eea826be7403183bf8f412850 (patch)
treeabfe8a5c2aec066a705ba92405b8366ebcd973b2 /internal/rosa/make.go
parenteeaf26e7a24c5c51c64fc333284015224e851e8c (diff)
internal/rosa: helpers for common url formats
This cleans up call site of NewPackage. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/make.go')
-rw-r--r--internal/rosa/make.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go
index dd795c82..5dbfc684 100644
--- a/internal/rosa/make.go
+++ b/internal/rosa/make.go
@@ -20,9 +20,9 @@ cd "$(mktemp -d)"
--disable-dependency-tracking
./build.sh
./make DESTDIR=/work install check
-`, pkg.Path(AbsUsrSrc.Append("make"), false, pkg.NewHTTPGetTar(
- nil, "https://ftpmirror.gnu.org/gnu/make/make-"+version+".tar.gz",
- mustDecode(checksum),
+`, pkg.Path(AbsUsrSrc.Append("make"), false, newTar(
+ "https://ftpmirror.gnu.org/gnu/make/make-"+version+".tar.gz",
+ checksum,
pkg.TarGzip,
))), version
}