libXft-devel
, libX11-devel
, libXinerama-devel
, and base-devel
:sudo xbps-install -S xorg git base-devel libXft-devel libX11-devel libXinerama-devel
git clone --depth=1 https://github.com/void-linux/void-packages.git
cd void-packages/
./xbps-src binary-bootstrap
dwm
source code:./xbps-src extract dwm
ls masterdir/builddir/dwm{version}/
files
directory inside the dwm
source package for your configuration:mkdir -p srcpkgs/dwm/files
cp masterdir/builddir/dwm{version}/config.def.h srcpkgs/dwm/files/config.h
config.h
for dwm
, build and install the package:./xbps-src pkg dwm
sudo xbps-install -R hostdir/binpkgs dwm
patches
directory in the source package (for example, in st
):mkdir -p srcpkgs/st/patches
patches
directory:st
:./xbps-src extract st
cp masterdir/builddir/st{version}/config.def.h srcpkgs/st/files/config.h
./xbps-src -f pkg st
sudo xbps-install -R hostdir/binpkgs -f st
Et voilà – you've successfully installed and configured the Suckless tools on Void Linux from source!