network/qbittorrent: Adjust desktop file.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David O'Shaughnessy 2023-06-10 07:06:19 +07:00 committed by Willy Sudiarto Raharjo
parent b82f9df7d5
commit c5210346b2
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -96,6 +96,12 @@ cmake -B build -G "Ninja" \
cmake --build build
DESTDIR=$PKG cmake --install build --strip
# adjust .desktop file to be compliant with Slackware 15.0 supported
# version of desktop spec (1.4) (SingleMainWindow was added to version
# 1.5 Desktop Entry Specification).
# https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
sed -i '/^SingleMainWindow/d' $PKG/usr/share/applications/*.desktop
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
@ -109,7 +115,7 @@ mkdir -p $PKG/etc/rc.d
cp $CWD/rc.qbittorrent-nox.new $PKG/etc/rc.d/.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS Changelog COPYING COPYING.GPLv? README.md INSTALL \
cp -a AUTHORS Changelog COPYING COPYING.GPLv? README.md \
$CWD/README.SBo $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild