slpkg/configs/slpkg.toml

83 lines
3.3 KiB
TOML
Raw Normal View History

2023-02-28 12:49:21 +01:00
[CONFIGS]
# OS architecture by default.
2023-02-28 12:44:53 +01:00
OS_ARCH = "x86_64"
# Tmp path for slpkg.
2023-03-01 21:27:29 +01:00
TMP_SLPKG = "/tmp/slpkg/"
2023-02-27 10:06:44 +01:00
# Path for building source and the script.
2023-03-01 21:27:29 +01:00
BUILD_PATH = "/tmp/slpkg/build/"
2023-03-03 22:33:57 +01:00
# The name of the database. Default name is 'database.slpkg'.
DATABASE_NAME = "database.slpkg"
2023-03-05 20:45:24 +01:00
# Where the packages download.
# This path working only with the command download.
2023-03-01 21:27:29 +01:00
DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
2023-03-06 22:30:09 +01:00
# File suffix for list packages.
2023-03-17 11:18:00 +01:00
# Change here if you are going to use '.sqf' files.
2023-03-06 22:30:09 +01:00
FILE_LIST_SUFFIX = ".pkgs"
2023-03-05 20:45:24 +01:00
# Configs for displaying colorful menu. Default is true. [true/false].
2023-03-03 22:33:57 +01:00
COLORS = true
2023-03-05 20:45:24 +01:00
# Dialog is a program that will let you present a variety of questions or
# display messages using dialog boxes from a shell script.
2023-03-03 22:33:57 +01:00
# Default is true. [true/false].
DIALOG = true
# If silent mode is true, it does not print the commands as they are executed.
# Default is true. [true/false].
SILENT_MODE = true
# Choose ascii printable characters.
# If true, it uses the extended characters, otherwise the basic ones.
# Default is true. [true/false].
ASCII_CHARACTERS = true
2023-03-17 11:18:00 +01:00
# Set false to all the questions. If set false, option --yes will not work.
2023-03-06 22:30:09 +01:00
# Default is true. [true/false].
ASK_QUESTION = true
2023-03-17 11:18:00 +01:00
# Download sources in parallel. Default is false. [true/false].
2023-03-13 15:54:42 +01:00
PARALLEL_DOWNLOADS = false
2023-03-17 11:18:00 +01:00
# Pass your file pattern here, instead, you can use '--file-pattern=' or '-F=' option.
2023-03-07 21:04:07 +01:00
FILE_PATTERN = ""
2023-03-15 16:03:26 +01:00
# There are 5 predefined spinners for the progress bar.
# Default is pixel. [spinner/pie/moon/line/pixel]
PROGRESS_SPINNER = "pixel"
# Choose color for the progress bar spinner.
# Default is green. [green/violet/yellow/blue/cyan/grey/red]
SPINNER_COLOR = "green"
2023-03-03 22:33:57 +01:00
# SLACKBUILDS.ORG REPOSITORY CONFIGS.
2023-03-20 17:21:36 +01:00
# SBO_REPO_PATH = "/var/lib/slpkg/repositories/sbo/"
# SBO_REPO_URL = "https://slackbuilds.org/slackbuilds/15.0/"
# SBO_TXT = "SLACKBUILDS.TXT"
# SBO_CHGLOG_TXT = "ChangeLog.txt"
# SBO_TAR_SUFFIX = ".tar.gz"
# SBO_REPO_TAG = "_SBo"
2023-02-28 12:44:53 +01:00
2023-03-03 22:33:57 +01:00
# PONCE REPOSITORY CONFIGS.
2023-03-17 11:18:00 +01:00
# Set the 'PONCE_REPO = true' to switch to the ponce repository and
# run 'slpkg update' to update the database if it is necessary.
2023-03-03 22:33:57 +01:00
# Default is false. [true/false].
2023-03-20 17:21:36 +01:00
# PONCE_REPO = false
# PONCE_REPO_PATH = "/var/lib/slpkg/repositories/ponce/"
# PONCE_REPO_URL = "https://cgit.ponce.cc/slackbuilds/plain/"
# PONCE_TXT = "SLACKBUILDS.TXT"
# PONCE_CHGLOG_TXT = "ChangeLog.txt"
# PONCE_REPO_TAG = "_SBo"
2023-03-03 22:33:57 +01:00
2023-02-27 10:32:52 +01:00
# Slackware command for install packages, instead, you can use 'installpkg'.
2023-02-28 12:44:53 +01:00
INSTALLPKG = "upgradepkg --install-new"
2023-02-27 10:06:44 +01:00
# Slackware command to reinstall packages.
2023-02-28 12:44:53 +01:00
REINSTALL = "upgradepkg --reinstall"
# Slackware command to remove packages.
2023-02-28 12:44:53 +01:00
REMOVEPKG = "removepkg"
2023-03-17 11:18:00 +01:00
# You can choose a downloader among wget, curl and lftp.
2023-03-10 17:34:13 +01:00
# Default is wget. [wget/curl/lftp].
2023-02-28 12:44:53 +01:00
DOWNLOADER = "wget"
2022-12-26 11:47:33 +01:00
# Wget downloader options.
# -c, --continue: resume getting a partially-downloaded file.
2023-01-14 21:34:14 +01:00
# -q, Turn off Wget's output.
# --show-progress, Force wget to display the progress bar in any verbosity.
2023-03-15 10:19:12 +01:00
WGET_OPTIONS = "-c -q --progress=bar:force:noscroll --show-progress"
2023-01-25 21:23:31 +01:00
# Curl downloader options.
2023-02-28 12:44:53 +01:00
CURL_OPTIONS = ""
2023-03-10 17:34:13 +01:00
# Lftp donwloader options.
LFTP_GET_OPTIONS = "-c get -e"
2023-03-17 11:18:00 +01:00
# Lftp mirror options are used to synchronize with the repositories.
2023-03-04 17:44:17 +01:00
LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer"