slpkg/tools/gen_sbo_txt.sh
2023-03-04 17:17:36 +02:00

17 lines
556 B
Bash
Executable file

for i in */*; do
NAME=$(echo $i | cut -d "/" -f2)
FILES=$(ls $i)
source $i/${NAME}.info
SHORTDES=$(grep -m 1 $NAME $i/slack-desc | cut -d " " -f2-)
echo SLACKBUILD NAME: $NAME
echo SLACKBUILD LOCATION: ./$i
echo SLACKBUILD FILES: $FILES
echo SLACKBUILD VERSION: $VERSION
echo SLACKBUILD DOWNLOAD: $DOWNLOAD
echo SLACKBUILD DOWNLOAD_x86_64: $DOWNLOAD_x86_64
echo SLACKBUILD MD5SUM: $MD5SUM
echo SLACKBUILD MD5SUM_x86_64: $MD5SUM_x86_64
echo SLACKBUILD REQUIRES: $REQUIRES
echo SLACKBUILD SHORT DESCRIPTION: $SHORTDES
echo
done