glibc/PKBBUILD
---
pkgname=glibc
pkgver=666.666.666
...
---
// single package
$ ./envsetup -b librsvg
// Multiple packages ( pretty simple )
$ ./envsetup -b librsvg qt5
P_ROOT/out/pkgs/x86_64/REPO_TYPE/librsvg-2.57.0-1-x86_64.pkg.tar.gz
This is also pretty straight forward but with more options to build packages in clean environment
meaning that packages wouldnt have extra linkages for other deps that user/dev may have installed to the system
extra linkages cause other users to have segfaults or worse like missing .so file in system
Also all done packages will be in the same place as before without docker compile
Building with CORE docker image ( this is plain base-chroot docker env with some compilers included )
// -d option says the toolset to use docker for compiling
$. /envsetup -d -b librsvg
// As seen then we have specified --kde arg before -d ( this is needed so -d can see the specified --kde option )
$ ./envsetup --kde -d -b kconfig
As of the recent new projects called repo_helper then adding newly made packages is easier and faster
This example here also supposes that you have all the repos like in evolinx available
run_update_all.sh ( contents)
ALLOW_LOGS=yes
if [ "$ALLOW_LOGS" == "yes" ]; then
export SILENCE="&> /dev/null"
else
export SILENCE=""
fi
repo="core cross_tools extra extra32 games gnome kde layers pentest perl proprietary python server xfce"
for repos in ${repo}
do
echo "Running pkg update for $repos"
echo " "
cd $repos
./repo_update $SILENCE
cd ..
done
$ cd repo/evolinx/
// This script cd's into all specified repos and runs ./repo_update ( seen at: http://files.martinvlba.eu/evolinx/core/ )
$ ./run_update_all.sh