summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRock Neurotiko2016-01-16 10:36:05 +0100
committerRock Neurotiko2016-01-16 10:36:05 +0100
commite00af54443a44d3ea3bb1520d1440b39cbccdf21 (patch)
tree6cf53c7e6b5fceb0a138f243124ccfd1cead03e5
parente6edceb0d5d1ab0baa0b401f7c22ba3294ffeeff (diff)
downloadaur-e00af54443a44d3ea3bb1520d1440b39cbccdf21.tar.gz
Symlink icon to pixmaps
-rw-r--r--.SRCINFO2
-rw-r--r--Discord.desktop4
-rw-r--r--PKGBUILD6
3 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c0d8f2da989c..557fcee5ba85 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 5565e53be0d1..64a20e481b4f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"