This commit is contained in:
Gwenhael Le Moine 2024-11-27 10:40:55 +01:00
parent 8544e1662f
commit 42c4947468
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
3 changed files with 8 additions and 5 deletions

View file

@ -99,4 +99,4 @@ EOF
cd $PKG cd $PKG
rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la
/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} /sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-${VERSION//-/_}-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}

View file

@ -4,12 +4,12 @@ WD=/home/installs/SlackBuilds
CAT=${CAT:-$1} CAT=${CAT:-$1}
cd $WD cd $WD
./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^${CAT}/.*" ./what-s_installed.sh | grep "^| x .*" | cut -d\ -f2 | grep "^${CAT}/.*"
echo "Ctrl-C to stop here, enter to continue" echo "Ctrl-C to stop here, enter to continue"
read read
for p in $(./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^${CAT}/.*"); do for p in $(./what-s_installed.sh | grep "^| x .*" | cut -d\ -f2 | grep "^${CAT}/.*"); do
(cd $p (cd $p
bash -e ./SlackBuild || echo "ERROR $p" >> $WD/_errors_rebuild) bash -e ./SlackBuild || echo "ERROR $p" >> $WD/_errors_rebuild)
done done

View file

@ -4,11 +4,14 @@ cd $(dirname $0) || exit 1
PKGs=$(ls /var/lib/pkgtools/packages/ | sed 's|^\(.*\)-.*-.*-.*$|\1|') PKGs=$(ls /var/lib/pkgtools/packages/ | sed 's|^\(.*\)-.*-.*-.*$|\1|')
PKG_OK="| x "
PKG_KO="| "
for cat in a ap d fonts l n xap y; do for cat in a ap d fonts l n xap y; do
cd $cat cd $cat
for p in $(ls -1); do for p in $(ls -1); do
echo $PKGs | grep -q " $(echo $p | tr -d /) " && echo -n "✓: " || echo -n "❌: " echo $PKGs | grep -q " $(echo $p | tr -d /) " && echo -n "$PKG_OK" || echo -n "$PKG_KO"
echo "$cat/$p" echo "| $cat/$p"
done | sort done | sort
cd .. cd ..
done done