Skip to content

Commit 2b1f2ed

Browse files
committed
xbps: elaborate on building packages, move to bottom
this is not something that should be the first thing in the list of subsections about "how to use xbps", so move it down. Incorporates suggestions from #639. closes: #639 closes: #847
1 parent 9c9214c commit 2b1f2ed

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/xbps/index.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ Most general package management is done with the following commands:
3030
Most questions can be answered by consulting the man pages for these tools,
3131
together with the [xbps.d(5)](https://man.voidlinux.org/xbps.d.5) man page.
3232

33-
To learn how to build packages from source, refer to [the README for the
34-
void-packages
35-
repository](https://github.com/void-linux/void-packages/blob/master/README.md).
36-
3733
## Updating
3834

3935
Like any other system, it is important to keep Void up-to-date. Use
@@ -125,3 +121,13 @@ To get a list of all installed packages, without their version:
125121
```
126122
$ xbps-query -l | awk '{ print $2 }' | xargs -n1 xbps-uhelper getpkgname
127123
```
124+
125+
## Building Packages
126+
127+
To learn how to build packages from source, refer to the [void-packages
128+
repository](https://github.com/void-linux/void-packages). In that repository,
129+
the [README](https://github.com/void-linux/void-packages/blob/master/README.md)
130+
provides a general overview of the `xbps-src` tool and instructions for building
131+
packages locally from existing package templates. For information about how to
132+
add new templates or modify existing ones, refer to the
133+
[Manual](https://github.com/void-linux/void-packages/blob/master/Manual.md).

0 commit comments

Comments
 (0)