forked from security/hakurei
This enables release monitoring for all applicable projects. Signed-off-by: Ophestra <cat@gensokyo.uk>
30 lines
647 B
Go
30 lines
647 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newXZ() (pkg.Artifact, string) {
|
|
const (
|
|
version = "5.8.2"
|
|
checksum = "rXT-XCp9R2q6cXqJ5qenp0cmGPfiENQiU3BWtUVeVgArfRmSsISeUJgvCR3zI0a0"
|
|
)
|
|
return t.NewPackage("xz", version, pkg.NewHTTPGetTar(
|
|
nil, "https://github.com/tukaani-project/xz/releases/download/"+
|
|
"v"+version+"/xz-"+version+".tar.bz2",
|
|
mustDecode(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,
|
|
}
|
|
}
|