docs: change names

SKIP-CI
This commit is contained in:
Strix 2023-10-14 22:39:52 +02:00
parent ee81acb953
commit 3902a6beaf
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
2 changed files with 9 additions and 43 deletions

View file

@ -89,7 +89,7 @@ base = "latest,stable" # selected by default
# other clients may offer extra functionality this must be put under "ext.*" # other clients may offer extra functionality this must be put under "ext.*"
[ext] [ext]
## pkgr.bootstrap ## ext.bootstrap
# This section is used for bootpkg. An edition of packager that bootstraps the full version. # This section is used for bootpkg. An edition of packager that bootstraps the full version.
# This exists so that packager is easy to install on anything! # This exists so that packager is easy to install on anything!
# and only 1 release channel for pkgr # and only 1 release channel for pkgr

View file

@ -1,66 +1,32 @@
[package] [package]
name = "packager" #* name = "packager"
description = "A package installation tool" #* description = "A package installation tool"
version = 1 # this can automatically be incremented when publishing by running `pkgr publish -i ...` version = 1
tags = [ "prod", "pkgr-spec-1" ] tags = [ "prod", "pkgr-spec-1" ]
type = "application" type = "application"
arch = "x86_64"
arch = "x86_64" # this is automatically filled by `pkgr publish ...`
## dependencies
# you may use the following syntax
# "<version/tag>" or "<version/tag>,<version/tag>,..."
[dependencies] [dependencies]
## bin [bin]
# Used for systems that don't want to build pkgs. root = "/root"
[bin] # binary files root
## bin.root
# ** RELATIVE TO PACKAGE ROOT **
# bin.root specifies the root of the installed tree.
# anything in here will be overlayed on top of the system.
root = "/root" #*
## bin.checksums
# ** KEYS are relative to BIN.ROOT **
# ** VALUES are relative to PKG ROOT **
# checksums is used to perform checksums before install
# values may be paths or a uri. You may include variables.
# supported variables:
# - @name
# - @version
# - @display_version
[bin.checksums] [bin.checksums]
"/usr/bin/pkgr" = "https://ixvd.net/checksums/packager/@version" "/usr/bin/pkgr" = "https://ixvd.net/checksums/packager/@version"
## build
# Scripts will be copied to a custom root.
# After the pacakge is built, the install script is ran.
# After the install script the build directory will be deleted and an CTREE (changed tree) will be generated.
# Then the CTREE will be used to copy the files over.
[build] [build]
build_script = "scripts/build" # relative to pkg build_script = "scripts/build"
install_script = "scripts/install" # relative to pkg install_script = "scripts/install"
[build.dependencies] [build.dependencies]
## pkgr.*
# packager is the official client but you may use other clients supporting the "pkgr v1 spec".
# other clients may offer extra functionality this must be put under "pkgr.*"
[ext] [ext]
## pkgr.bootstrap
# This section is used for bootpkg. An edition of packager that bootstraps the full version.
# This exists so that packager is easy to install on anything!
# and only 1 release channel for pkgr
[ext.bootstrap] [ext.bootstrap]
## any non-zero = installed
check_installed_commands = [ check_installed_commands = [
"file /usr/bin/pkgr" "file /usr/bin/pkgr"
] ]
# any non-zero = fail
commands = [ commands = [
"cp root/usr/bin/pkgr /usr/bin/pkgr" "cp root/usr/bin/pkgr /usr/bin/pkgr"
] ]