22 lines
337 B
Bash
Executable File
22 lines
337 B
Bash
Executable File
#!/usr/bin/sh
|
|
|
|
git fetch --all
|
|
git reset --hard origin/master
|
|
|
|
rm -rf tonitch
|
|
|
|
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
|
|
makepkg -f --nodeps
|
|
cd ..
|
|
done
|
|
|
|
cd $PKGDEST
|
|
repo-add tonitch.db.tar.gz *.pkg.tar.zst
|