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\"") {