2023-04-12 01:50:12 +02:00
|
|
|
#!/usr/bin/sh
|
|
|
|
|
2023-04-12 02:13:30 +02:00
|
|
|
git fetch --all
|
|
|
|
git reset --hard origin/master
|
2023-04-12 02:10:53 +02:00
|
|
|
|
2023-04-12 01:50:12 +02:00
|
|
|
mkdir -p tonitch
|
|
|
|
export PKGDEST=$(pwd)/tonitch
|
|
|
|
|
|
|
|
packagelist=$(find . -maxdepth 1 -type d -printf '%P\n' | sed '/tonitch/d' | sed '/\./d')
|
|
|
|
|
|
|
|
for d in $packagelist
|
|
|
|
do
|
|
|
|
cd $d
|
2023-04-12 02:10:53 +02:00
|
|
|
makepkg -f
|
2023-04-12 02:40:59 +02:00
|
|
|
cd ..
|
2023-04-12 01:50:12 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
cd $PKGDEST
|
|
|
|
repo-add tonitch.db.tar.gz *.pkg.tar.zst
|