aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/xz.go
blob: a211bdedd6ee1bd7e340a0649144bb8dd532a8b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package rosa

import "hakurei.app/internal/pkg"

func (t Toolchain) newXZ() (pkg.Artifact, string) {
	const (
		version  = "5.8.3"
		checksum = "nCdayphPGdIdVoAZ2hR4vYlhDG9LeVKho_i7ealTud4Vxy5o5dWe0VwFlN7utuUL"
	)
	return t.NewPackage("xz", version, newFromGitHubRelease(
		"tukaani-project/xz",
		"v"+version,
		"xz-"+version+".tar.bz2",
		checksum,
		pkg.TarBzip2,
	), nil, (*MakeHelper)(nil),
		Diffutils,
	), version
}
func init() {
	artifactsM[XZ] = Metadata{
		f: Toolchain.newXZ,

		Name:        "xz",
		Description: "XZ Utils",
		Website:     "https://tukaani.org/xz/",

		ID: 5277,
	}
}