32 lines
508 B
TOML
32 lines
508 B
TOML
[package]
|
|
name = "packager"
|
|
description = "A package installation tool"
|
|
version = 1
|
|
tags = [ "prod", "pkgr-spec-1" ]
|
|
type = "application"
|
|
arch = "x86_64"
|
|
|
|
[dependencies]
|
|
|
|
[bin]
|
|
root = "/root"
|
|
|
|
[bin.checksums]
|
|
"/usr/bin/pkgr" = "https://ixvd.net/checksums/packager/@version"
|
|
|
|
[build]
|
|
build_script = "scripts/build"
|
|
install_script = "scripts/install"
|
|
|
|
[build.dependencies]
|
|
|
|
[ext]
|
|
|
|
[ext.bootstrap]
|
|
check_installed_commands = [
|
|
"file /usr/bin/pkgr"
|
|
]
|
|
|
|
commands = [
|
|
"cp root/usr/bin/pkgr /usr/bin/pkgr"
|
|
]
|