diff options
Diffstat (limited to 'man/man5/apkg.conf.5')
| -rw-r--r-- | man/man5/apkg.conf.5 | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/man/man5/apkg.conf.5 b/man/man5/apkg.conf.5 new file mode 100644 index 0000000..e4bb96d --- /dev/null +++ b/man/man5/apkg.conf.5 @@ -0,0 +1,86 @@ +.\" -*- mode: troff; coding: utf-8 -*- +.TH "" "5" "" +.SH NAME +It resides by default under \f(CR/etc\fR in an alice linux installation. +The contents are sourced by the \fBapkg\fR program and are in the posix shell \f(CRkey=\(dqvalue\(dq\fR format. +.SH CONFIGURATION KEYS +.IP "\(bu" 3 +\f(CRAPKG_NOPROMPT\fR If set, it enables non-interactive use by disabling user confirmation prompt. +.if n \ +.sp -1 +.if t \ +.sp -0.25v +.IP "\(bu" 3 +\f(CRAPKG_PACKAGE_DIR\fR Directory where the compiled packages will reside. +.if n \ +.sp -1 +.if t \ +.sp -0.25v +.IP "\(bu" 3 +\f(CRAPKG_SOURCE_DIR\fR Directory that will hold the downloaded sources. +.if n \ +.sp -1 +.if t \ +.sp -0.25v +.IP "\(bu" 3 +\f(CRAPKG_WORK_DIR\fR Directory where the actual building process will take place. This happens in subdirectories which are cleaned after completion. +.if n \ +.sp -1 +.if t \ +.sp -0.25v +.IP "\(bu" 3 +\f(CRAPKG_LOG\fR If set, it enables the creation of a log for the program output. +.if n \ +.sp -1 +.if t \ +.sp -0.25v +.IP "\(bu" 3 +\f(CRexport CFLAGS=\(dq<cflags>\(dq\fR Default are \fI-O3 -march=x86-64 -pipe\fR +.if n \ +.sp -1 +.if t \ +.sp -0.25v +.IP "\(bu" 3 +\f(CRexport CXXFLAGS=\(dq$CFLAGS\(dq\fR +.if n \ +.sp -1 +.if t \ +.sp -0.25v +.IP "\(bu" 3 +\f(CRexport NINJAJOBS=\(dq<-x>\(dq\fR 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. +.if n \ +.sp -1 +.if t \ +.sp -0.25v +.IP "\(bu" 3 +\f(CRexport MAKEFLAGS=\(dq-jx\(dq\fR Replace with the number of jobs the make build system with use. +.LP +EXAMPLES +.LP +.EX +### example of a valid apkg.conf ### +export CFLAGS=\(dq-O3 -march=x86-64 -pipe\(dq +export CXXFLAGS=\(dq$CFLAGS\(dq +export MAKEFLAGS=\(dq-j12\(dq +export NINJAJOBS=\(dq12\(dq +APKG_REPO=\(dq/var/lib/alicelinux/repos/core /var/lib/alicelinux/repos/extra /var/lib/alicelinux/repos/xorg /var/lib/alicelinux/repos/wayland\(dq +APKG_PACKAGE_DIR=/var/cache/pkg +APKG_SOURCE_DIR=/var/cache/src +APKG_WORK_DIR=/var/cache/work +.EE +.SH AUTHORS +.LP +emmett1 \c +.MT emmett1.2miligrams@protonmail.com +.ME +Author of the program and creator of alice linux. +.PP +mobinmob \c +.MT mobinmob@disroot.org +.ME +Author of the man page. +.SH REPORTING BUGS +.LP +\fBapkg\fR is in a working stage but also under heavy development. Please report and bugs/issues in the project issue tracker: \c +.UR https://codeberg.org/emmett1/autils/issues +.UE |