aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/pcre2.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/pcre2.go')
-rw-r--r--internal/rosa/pcre2.go14
1 files changed, 11 insertions, 3 deletions
diff --git a/internal/rosa/pcre2.go b/internal/rosa/pcre2.go
index 415384e1..53ab3e56 100644
--- a/internal/rosa/pcre2.go
+++ b/internal/rosa/pcre2.go
@@ -4,7 +4,7 @@ import (
"hakurei.app/internal/pkg"
)
-func (t Toolchain) newPCRE2() pkg.Artifact {
+func (t Toolchain) newPCRE2() (pkg.Artifact, string) {
const (
version = "10.43"
checksum = "iyNw-POPSJwiZVJfUK5qACA6q2uMzP-84WieimN_CskaEkuw5fRnRTZhEv6ry2Yo"
@@ -28,6 +28,14 @@ ln -s ../system/bin/toybox /bin/echo
},
},
Diffutils,
- )
+ ), version
+}
+func init() {
+ artifactsM[PCRE2] = Metadata{
+ f: Toolchain.newPCRE2,
+
+ Name: "pcre2",
+ Description: "a set of C functions that implement regular expression pattern matching",
+ Website: "https://pcre2project.github.io/pcre2/",
+ }
}
-func init() { artifactsF[PCRE2] = Toolchain.newPCRE2 }