aboutsummaryrefslogtreecommitdiff
path: root/cmd/yeet/internal/pkgmeta
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/yeet/internal/pkgmeta')
-rw-r--r--cmd/yeet/internal/pkgmeta/package.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/yeet/internal/pkgmeta/package.go b/cmd/yeet/internal/pkgmeta/package.go
index e7a9bb9..f955c6e 100644
--- a/cmd/yeet/internal/pkgmeta/package.go
+++ b/cmd/yeet/internal/pkgmeta/package.go
@@ -18,7 +18,8 @@ type Package struct {
Documentation map[string]string `json:"documentation"` // pwd-relative source path, file in /usr/share/doc/$Name
Files map[string]string `json:"files"` // pwd-relative source path, rpm destination path
- Build func(BuildInput) `json:"build"`
+ Build func(BuildInput) `json:"build"`
+ Filename func(Package) string `json:"mkFilename"`
}
type BuildInput struct {