mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
d7d6691a9f
commit
3959cf0cb6
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue