mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
64 lines
2.5 KiB
TOML
64 lines
2.5 KiB
TOML
[CONFIGS]
|
|
# OS architecture by default.
|
|
OS_ARCH = "x86_64"
|
|
# Tmp path for slpkg.
|
|
TMP_SLPKG = "/tmp/slpkg/"
|
|
# Path for building source and the script.
|
|
BUILD_PATH = "/tmp/slpkg/build/"
|
|
# The name of the database. Default name is 'database.slpkg'.
|
|
DATABASE_NAME = "database.slpkg"
|
|
# This path working only with the command download.
|
|
DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
|
|
# Cli menu colors configs. Default is true. [true/false].
|
|
COLORS = true
|
|
# Dialog is a program that will let you to presenta variety of questions
|
|
# or display messages using dialog boxes from a shell script.
|
|
# 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
|
|
|
|
# SLACKBUILDS.ORG REPOSITORY CONFIGS.
|
|
SBO_REPO_PATH = "/var/lib/slpkg/repository/"
|
|
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"
|
|
|
|
# PONCE REPOSITORY CONFIGS.
|
|
# Set the 'PONCE_REPO = true' to switch with the ponce repository and
|
|
# run 'slpkg update' to update the database.
|
|
# Default is false. [true/false].
|
|
PONCE_REPO = false
|
|
PONCE_REPO_PATH = "/var/lib/slpkg/repository/ponce/"
|
|
PONCE_REPO_URL = "https://cgit.ponce.cc/slackbuilds/plain/"
|
|
PONCE_TXT = "SLACKBUILDS.TXT"
|
|
PONCE_CHGLOG_TXT = "ChangeLog.txt"
|
|
PONCE_REPO_TAG = "_SBo"
|
|
|
|
# Slackware command for install packages, instead, you can use 'installpkg'.
|
|
INSTALLPKG = "upgradepkg --install-new"
|
|
# Slackware command to reinstall packages.
|
|
REINSTALL = "upgradepkg --reinstall"
|
|
# Slackware command to remove packages.
|
|
REMOVEPKG = "removepkg"
|
|
|
|
# You can choose downloader between wget and curl.
|
|
# Default is wget. [wget/curl].
|
|
DOWNLOADER = "wget"
|
|
# Wget downloader options.
|
|
# -c, --continue: resume getting a partially-downloaded file.
|
|
# -N, --timestamping: don't re-retrieve files unless newer.
|
|
# -q, Turn off Wget's output.
|
|
# --show-progress, Force wget to display the progress bar in any verbosity.
|
|
WGET_OPTIONS = "-c -N -q --show-progress"
|
|
# Curl downloader options.
|
|
CURL_OPTIONS = ""
|
|
# Lftp downloader options are used to synchronize with the ponce repository.
|
|
LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer"
|