package/update.sh

18 lines
267 B
Bash
Raw Normal View History

2023-04-12 01:50:12 +02:00
#!/usr/bin/sh
2023-04-12 02:10:53 +02:00
git pull
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 01:50:12 +02:00
done
cd $PKGDEST
repo-add tonitch.db.tar.gz *.pkg.tar.zst