Support Discord stable (keep supporting canary builds)
Discord stable for linux is now available!
This commit is contained in:
parent
50704a5a5a
commit
4609df66e2
4 changed files with 177 additions and 1 deletions
38
discord-canary.spec
Normal file
38
discord-canary.spec
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Defined by the caller (ie the script):
|
||||
# version_number
|
||||
# downloaded_dir
|
||||
# desktop_file
|
||||
|
||||
%define install_dir /opt/discord
|
||||
%define apps_dir /usr/share/applications
|
||||
|
||||
Name: discord
|
||||
Version: %{version_number}
|
||||
Release: canary%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
|
||||
Group: Applications/Internet
|
||||
License: Proprietary
|
||||
URL: https://discordapp.com/
|
||||
BuildArch: x86_64
|
||||
Requires: glibc, alsa-lib, GConf2, libnotify, nspr >= 4.13, nss >= 3.27, libstdc++ >= 6, libX11 >= 1.6, libXtst >= 1.2, libappindicator
|
||||
|
||||
%description
|
||||
All-in-one voice and text chat for gamers that’s free, secure, and works on both your desktop and phone.
|
||||
It’s time to ditch Skype and TeamSpeak.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p "%{buildroot}%{install_dir}"
|
||||
mkdir -p "%{buildroot}%{apps_dir}"
|
||||
mv "%{downloaded_dir}"/* "%{buildroot}%{install_dir}"
|
||||
cp "%{desktop_file}" "%{buildroot}%{apps_dir}"
|
||||
chmod +x "%{buildroot}%{install_dir}"/*.so
|
||||
|
||||
%files
|
||||
/*
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue