mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/qbittorrent: Adjust desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b82f9df7d5
commit
c5210346b2
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue