Fix install-script.sh tracking and add prebuilt packages documentation
- Remove install-script.sh from .gitignore (needed for Docker builds) - Add PREBUILT.md with instructions for pre-built packages - Update install hints to include prebuilt packages option
This commit is contained in:
parent
53df02eda1
commit
f9d0fa905d
3 changed files with 17 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -86,12 +86,13 @@ Makefile
|
||||||
*.deb
|
*.deb
|
||||||
*.rpm
|
*.rpm
|
||||||
*.zip
|
*.zip
|
||||||
*..tar.gz
|
*.tar.gz
|
||||||
*.tar.bz2
|
*.tar.bz2
|
||||||
*.tar.xz
|
*.tar.xz
|
||||||
|
|
||||||
# Recipes builds
|
# Recipes builds
|
||||||
recipes/*.pkg.tar.*
|
recipes/*.pkg.tar.*
|
||||||
|
recipes/build/
|
||||||
recipes/dist/
|
recipes/dist/
|
||||||
|
|
||||||
# Allow scripts directory
|
# Allow scripts directory
|
||||||
|
|
|
||||||
14
PREBUILT.md
Normal file
14
PREBUILT.md
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Pre-built packages repository
|
||||||
|
# For users who want to install packages without building from source
|
||||||
|
|
||||||
|
## How to use:
|
||||||
|
# ./zsvo install --repo-url https://github.com/yourname/zsvo-prebuilt neovim
|
||||||
|
|
||||||
|
## Available packages:
|
||||||
|
- neovim-0.10.4.pkg.tar.zst # Latest neovim (built with all dependencies)
|
||||||
|
- htop-3.4.1.pkg.tar.zst # Latest htop
|
||||||
|
- cmake-3.28.3.pkg.tar.zst # Latest cmake
|
||||||
|
- git-2.43.0.pkg.tar.zst # Latest git
|
||||||
|
|
||||||
|
## Building packages:
|
||||||
|
# Use scripts/build-prebuilt.sh to create packages for this repository
|
||||||
|
|
@ -813,6 +813,7 @@ func buildFailureHint(pkgName string, err error) string {
|
||||||
hints,
|
hints,
|
||||||
fmt.Sprintf("Hint: missing build dependencies detected: %s.", strings.Join(missingDeps, ", ")),
|
fmt.Sprintf("Hint: missing build dependencies detected: %s.", strings.Join(missingDeps, ", ")),
|
||||||
"Hint: добавь рецепты для этих пакетов (или алиасы к Debian source), затем повтори `zsvo install`.",
|
"Hint: добавь рецепты для этих пакетов (или алиасы к Debian source), затем повтори `zsvo install`.",
|
||||||
|
"Hint: или используйте готовые пакеты: ./zsvo install --repo-url https://github.com/yourname/zsvo-prebuilt neovim",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if strings.Contains(text, "on systems using dpkg and apt, try: \"apt-get install package\"") {
|
if strings.Contains(text, "on systems using dpkg and apt, try: \"apt-get install package\"") {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue