From f9d0fa905df017076bb4522e08e4980380ffdda8 Mon Sep 17 00:00:00 2001 From: itexpert228 <67105314+fdaser1337@users.noreply.github.com> Date: Sat, 14 Mar 2026 17:36:46 +0300 Subject: [PATCH] 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 --- .gitignore | 3 ++- PREBUILT.md | 14 ++++++++++++++ cmd/install.go | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 PREBUILT.md diff --git a/.gitignore b/.gitignore index 50af23d..a6049d3 100644 --- a/.gitignore +++ b/.gitignore @@ -86,12 +86,13 @@ Makefile *.deb *.rpm *.zip -*..tar.gz +*.tar.gz *.tar.bz2 *.tar.xz # Recipes builds recipes/*.pkg.tar.* +recipes/build/ recipes/dist/ # Allow scripts directory diff --git a/PREBUILT.md b/PREBUILT.md new file mode 100644 index 0000000..432636e --- /dev/null +++ b/PREBUILT.md @@ -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 diff --git a/cmd/install.go b/cmd/install.go index e6114aa..8e162de 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -813,6 +813,7 @@ func buildFailureHint(pkgName string, err error) string { hints, fmt.Sprintf("Hint: missing build dependencies detected: %s.", strings.Join(missingDeps, ", ")), "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\"") {