multimedia/amarok: Fixed sbopkglint failures.

Signed-off-by: Reza Talebi <reza.talebi.73@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Reza Talebi 2024-10-12 03:56:40 +03:30 committed by Willy Sudiarto Raharjo
parent d7d6691a9f
commit 3959cf0cb6
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -85,6 +85,12 @@ cd build
make install DESTDIR=$PKG
cd ..
find $PKG/usr/share/applications -type f -name "*.desktop" -exec chmod 644 {} \;
chown root:root $PKG/usr/share/applications/*.desktop
sed -i '/SingleMainWindow/d' $PKG/usr/share/applications/org.kde.amarok.desktop
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@ -92,6 +98,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
if [ -d $PKG/usr/share/doc ]; then
mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh