diff options
author | Rock Neurotiko | 2016-01-16 10:36:05 +0100 |
---|---|---|
committer | Rock Neurotiko | 2016-01-16 10:36:05 +0100 |
commit | e00af54443a44d3ea3bb1520d1440b39cbccdf21 (patch) | |
tree | 6cf53c7e6b5fceb0a138f243124ccfd1cead03e5 | |
parent | e6edceb0d5d1ab0baa0b401f7c22ba3294ffeeff (diff) | |
download | aur-e00af54443a44d3ea3bb1520d1440b39cbccdf21.tar.gz |
Symlink icon to pixmaps
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | Discord.desktop | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
3 files changed, 8 insertions, 4 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon Jan 4 11:15:58 UTC 2016 +# Sat Jan 16 09:35:25 UTC 2016 pkgbase = discord pkgdesc = Discord linux App pkgver = 0.1.3 diff --git a/Discord.desktop b/Discord.desktop index ac24f0e6ed35..c2c2539d068f 100644 --- a/Discord.desktop +++ b/Discord.desktop @@ -2,7 +2,7 @@ Name=Discord Comment=Discord App Exec=discord -Icon=/opt/discord/resources/app/icon.png +Icon=discord StartupNotify=false Categories=Network;Chat;InstantMessaging -Type=Application
\ No newline at end of file +Type=Application @@ -3,7 +3,7 @@ pkgname=discord pkgver=0.1.3 -pkgrel=4 +pkgrel=5 pkgdesc='Discord linux App' arch=('i686' 'x86_64') url='https://github.com/XNBlank/discord-linux' @@ -40,6 +40,10 @@ package() { install -d "${pkgdir}/usr/bin" ln -s "/opt/discord/discord" "${pkgdir}/usr/bin/discord" + # Create symbolic link to the icon + install -d "${pkgdir}/usr/share/pixmaps" + ln -s "/opt/discord/resources/app/icon.png" "${pkgdir}/usr/share/pixmaps/discord.png" + # Install license file install -Dm644 "${pkgdir}/opt/discord/LICENSE" "${pkgdir}/usr/share/licenses/discord/LICENSE" rm "${pkgdir}/opt/discord/LICENSE" |