discord-ptb: carry over desktop patch from discord

Closes: #10472 [via git-merge-pr]
This commit is contained in:
Benjamin Hoffmeyer 2018-01-04 18:22:00 -05:00 committed by Jürgen Buchmüller
parent 455e52c52a
commit 6ec51e8a49
2 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
# Template file for 'discord-ptb'
pkgname="discord-ptb"
version="0.0.5"
revision=1
revision=2
wrksrc="DiscordPTB"
depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
only_for_archs="x86_64"
@ -18,7 +18,7 @@ checksum="64f7a5d7d4e6116297a8979cb4723d1a9e576c5e4c564915c8e0309b9c98ba04"
do_install() {
local package_location="usr/lib/$pkgname" item
vmkdir usr/share/pixmaps
vcopy discord.png /usr/share/pixmaps/
vinstall discord.png 644 /usr/share/pixmap/ discord-ptb.png
vmkdir usr/share/applications
vcopy discord-ptb.desktop /usr/share/applications/
vmkdir ${package_location}