common | ||
etc | ||
srcpkgs/brave-browser | ||
.dockerignore | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
CONTRIBUTING.md | ||
COPYING | ||
Manual.md | ||
README.md | ||
xbps-src |
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>