diff --git a/srcpkgs/discord/template b/srcpkgs/discord/template index da5c6156608..b4591a77b8c 100644 --- a/srcpkgs/discord/template +++ b/srcpkgs/discord/template @@ -2,8 +2,8 @@ # Originally created by Benjamin Hoffmeyer, modified for stable Discord pkgname="discord" -version="0.0.1" -revision=3 +version="0.0.2" +revision=1 depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst" wrksrc="Discord" only_for_archs="x86_64" @@ -15,17 +15,17 @@ maintainer="Ryan Conwell " license="proprietary" homepage="https://discordapp.com" distfiles="https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz" -checksum="ba0ff3c57d7ab3a5e47a91bd23a79758085147e88fa0c65529bcf50a778fa382" -_package_location="/usr/lib/$pkgname" +checksum="dfc17ac6f683a45f896a4f881b900b2d46d74b0625cb661db1bfe39b33a06769" do_install() { + local package_location="usr/lib/$pkgname" item vmkdir /usr/share/pixmaps vcopy discord.png /usr/share/pixmaps/ vmkdir /usr/share/applications vcopy discord.desktop /usr/share/applications/ - vmkdir ${_package_location} + vmkdir ${package_location} for item in locales resources Discord libffmpeg.so libnode.so natives_blob.bin snapshot_blob.bin content_shell.pak icudtl.dat; do - vcopy "${item}" "${_package_location}" + vcopy "${item}" "${package_location}" done vmkdir /usr/bin ln -sfr $DESTDIR${_package_location}/Discord $DESTDIR/usr/bin/Discord