diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..4b98c33 --- /dev/null +++ b/update.sh @@ -0,0 +1,15 @@ +#!/usr/bin/sh + +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 +done + +cd $PKGDEST +repo-add tonitch.db.tar.gz *.pkg.tar.zst