discord-ptb: carry over desktop patch from discord
Closes: #10472 [via git-merge-pr]
This commit is contained in:
parent
455e52c52a
commit
6ec51e8a49
|
@ -0,0 +1,8 @@
|
||||||
|
*** discord-ptb.desktop
|
||||||
|
--- discord-ptb.desktop
|
||||||
|
*************** GenericName=Internet Messenger
|
||||||
|
*** 6 ****
|
||||||
|
! Exec=/usr/share/discord-ptb/DiscordPTB
|
||||||
|
--- 6 ----
|
||||||
|
! Exec=/usr/lib/discord-ptb/DiscordPTB
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'discord-ptb'
|
# Template file for 'discord-ptb'
|
||||||
pkgname="discord-ptb"
|
pkgname="discord-ptb"
|
||||||
version="0.0.5"
|
version="0.0.5"
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="DiscordPTB"
|
wrksrc="DiscordPTB"
|
||||||
depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
|
depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
|
||||||
only_for_archs="x86_64"
|
only_for_archs="x86_64"
|
||||||
|
@ -18,7 +18,7 @@ checksum="64f7a5d7d4e6116297a8979cb4723d1a9e576c5e4c564915c8e0309b9c98ba04"
|
||||||
do_install() {
|
do_install() {
|
||||||
local package_location="usr/lib/$pkgname" item
|
local package_location="usr/lib/$pkgname" item
|
||||||
vmkdir usr/share/pixmaps
|
vmkdir usr/share/pixmaps
|
||||||
vcopy discord.png /usr/share/pixmaps/
|
vinstall discord.png 644 /usr/share/pixmap/ discord-ptb.png
|
||||||
vmkdir usr/share/applications
|
vmkdir usr/share/applications
|
||||||
vcopy discord-ptb.desktop /usr/share/applications/
|
vcopy discord-ptb.desktop /usr/share/applications/
|
||||||
vmkdir ${package_location}
|
vmkdir ${package_location}
|
||||||
|
@ -27,4 +27,4 @@ do_install() {
|
||||||
done
|
done
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
ln -sfr $DESTDIR/${package_location}/DiscordPTB $DESTDIR/usr/bin/discord-ptb
|
ln -sfr $DESTDIR/${package_location}/DiscordPTB $DESTDIR/usr/bin/discord-ptb
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue