23 lines
535 B
TOML
23 lines
535 B
TOML
[metadata]
|
|
name = "example"
|
|
version = "0.1.0"
|
|
description = "Example package"
|
|
homepage = "https://example.com"
|
|
url = "https://example.com/example-0.1.0-linux-amd64.tar.gz"
|
|
license = "MIT"
|
|
|
|
# Uses XDG Base Directory Specification
|
|
# Except bin, which just goes in $HOME/.local/bin
|
|
[install]
|
|
bin = ["example"]
|
|
config = ["config.toml"]
|
|
share = ["data"]
|
|
|
|
[update.check]
|
|
type_ = "github"
|
|
checkver = "https://example.com/checkver"
|
|
regex = "v([0-9]+\\.[0-9]+\\.[0-9]+)"
|
|
|
|
[update.template]
|
|
url = "https://example.com/$version-$os-$arch.tar.gz"
|