apkg.conf.md (1961B)
1 # NAME 2 3 **apkg.conf** - configuration file for apkg 4 5 # DESCRIPTION 6 7 **apkg.conf** is the configuration file for the **apkg** package manager for the alice linux distribution. 8 It resides by default under `/etc` in an alice linux installation. 9 The contents are sourced by the **apkg** program and are in the posix shell `key="value"` format. 10 11 # CONFIGURATION KEYS 12 13 - `APKG_NOPROMPT` If set, it enables non-interactive use by disabling user confirmation prompt. 14 - `APKG_PACKAGE_DIR` Directory where the compiled packages will reside. 15 - `APKG_SOURCE_DIR` Directory that will hold the downloaded sources. 16 - `APKG_WORK_DIR` Directory where the actual building process will take place. This happens in subdirectories which are cleaned after completion. 17 - `APKG_LOG` If set, it enables the creation of a log for the program output. 18 - `export CFLAGS="<cflags>"` Default <cflags> are *-O3 -march=x86-64 -pipe* 19 - `export CXXFLAGS="$CFLAGS"` 20 - `export NINJAJOBS="<-x>"` Replace <-x> with the number of jobs the ninja build system with use. Without this it will use the maximum amount of threads the processor suports. 21 - `export MAKEFLAGS="-jx"` Replace <x> with the number of jobs the make build system with use. 22 23 EXAMPLES 24 25 ``` 26 ### example of a valid apkg.conf ### 27 export CFLAGS="-O3 -march=x86-64 -pipe" 28 export CXXFLAGS="$CFLAGS" 29 export MAKEFLAGS="-j12" 30 export NINJAJOBS="12" 31 APKG_REPO="/var/lib/alicelinux/repos/core /var/lib/alicelinux/repos/extra /var/lib/alicelinux/repos/xorg /var/lib/alicelinux/repos/wayland" 32 APKG_PACKAGE_DIR=/var/cache/pkg 33 APKG_SOURCE_DIR=/var/cache/src 34 APKG_WORK_DIR=/var/cache/work 35 ``` 36 37 # AUTHORS 38 39 emmett1 <emmett1.2miligrams@protonmail.com> Author of the program and creator of alice linux. 40 41 mobinmob <mobinmob@disroot.org> Author of the man page. 42 43 # REPORTING BUGS 44 45 **apkg** is in a working stage but also under heavy development. Please report and bugs/issues in the project issue tracker: https://codeberg.org/emmett1/autils/issues