No description
Find a file
2024-10-18 15:55:32 +05:30
common Initial commit 2024-10-18 15:49:48 +05:30
etc Initial commit 2024-10-18 15:49:48 +05:30
srcpkgs/brave-browser Initial commit 2024-10-18 15:49:48 +05:30
.dockerignore Initial commit 2024-10-18 15:49:48 +05:30
.editorconfig Initial commit 2024-10-18 15:49:48 +05:30
.gitattributes Initial commit 2024-10-18 15:49:48 +05:30
.gitignore Initial commit 2024-10-18 15:49:48 +05:30
.mailmap Initial commit 2024-10-18 15:49:48 +05:30
CONTRIBUTING.md Initial commit 2024-10-18 15:49:48 +05:30
COPYING Initial commit 2024-10-18 15:49:48 +05:30
Manual.md Initial commit 2024-10-18 15:49:48 +05:30
README.md Added why 2024-10-18 15:55:32 +05:30
xbps-src Initial commit 2024-10-18 15:49:48 +05:30

Annada's personal packages collection for Void Linux

This repository contains my personal packages collection to build binary packages for the Void Linux distribution.

Why? The reason why I have this personal repo is because the original repo has strict requirements and doesn't allow browser forks and other proprietary software that I use.

Requirements

  • GNU bash
  • xbps >= 0.56
  • git(1) - unless configured to not, see etc/defaults.conf
  • common POSIX utilities included by default in almost all UNIX systems
  • curl(1) - required by xbps-src update-check

For bootstrapping additionally:

  • flock(1) - util-linux
  • bsdtar or GNU tar (in that order of preference)
  • install(1) - GNU coreutils
  • objcopy(1), objdump(1), strip(1): binutils

xbps-src requires a utility to chroot and bind mount existing directories into a masterdir that is used as its main chroot directory. xbps-src supports multiple utilities to accomplish this task.

NOTE: xbps-src does not allow building as root anymore. Use one of the chroot methods.

Quick start

Clone this git repository and install the bootstrap packages:

$ ./xbps-src binary-bootstrap

Build a package by specifying the pkg target and the package name:

$ ./xbps-src pkg <package_name>

Use ./xbps-src -h to list all available targets and options.

To build packages marked as 'restricted', modify etc/conf:

$ echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf

Once built, the package will be available in hostdir/binpkgs or an appropriate subdirectory (e.g. hostdir/binpkgs/nonfree). To install the package:

# xbps-install --repository hostdir/binpkgs <package_name>

Alternatively, packages can be installed with the xi utility, from the xtools package. xi takes the repository of the current working directory into account.

$ xi <package_name>