Compare commits
No commits in common. "6579e566d8ab3ddc3e7a1582ceb8bac2a53b88b1" and "d94bd89f072ec3cee30870cee146813ad4c80e0e" have entirely different histories.
6579e566d8
...
d94bd89f07
3 changed files with 6 additions and 6 deletions
3
.SRCINFO
3
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = discord-electron-bin
|
||||
pkgdesc = Discord using system provided electron (v13) for increased security and performance
|
||||
pkgver = 0.0.21
|
||||
pkgrel = 2
|
||||
pkgrel = 1
|
||||
url = https://discord.com
|
||||
arch = x86_64
|
||||
license = custom
|
||||
|
@ -13,7 +13,6 @@ pkgbase = discord-electron-bin
|
|||
optdepends = xdg-utils: Open files
|
||||
provides = discord
|
||||
conflicts = discord
|
||||
options = !strip
|
||||
source = https://dl.discordapp.net/apps/linux/0.0.21/discord-0.0.21.tar.gz
|
||||
sha512sums = 149ae5b8b7d92549e12eca52e45d3f5761ef022ae321cf33fadc3b56c4cee0616a5166380faea038256213713a7aa90e1befc4caa3e6a4de8e15c1cb1d8f925d
|
||||
|
||||
|
|
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
pkg/
|
||||
src/
|
||||
*.tar.*
|
||||
*.pkg.*
|
5
PKGBUILD
5
PKGBUILD
|
@ -12,16 +12,14 @@
|
|||
pkgname=discord-electron-bin
|
||||
_pkgname=discord
|
||||
_electron=13
|
||||
#_electron=19
|
||||
pkgver=0.0.21
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="Discord using system provided electron (v${_electron}) for increased security and performance"
|
||||
arch=('x86_64')
|
||||
provides=("${_pkgname}")
|
||||
conflicts=("${_pkgname}")
|
||||
url='https://discord.com'
|
||||
license=('custom')
|
||||
options=('!strip')
|
||||
depends=("electron${_electron}")
|
||||
makedepends=('asar' 'curl' 'python-html2text')
|
||||
optdepends=(
|
||||
|
@ -77,7 +75,6 @@ EOF
|
|||
rm $_tarname/resources/app.asar
|
||||
sed -i "s|process.resourcesPath|'/usr/lib/${_pkgname}'|" $_tarname/resources/app/app_bootstrap/buildInfo.js
|
||||
sed -i "s|exeDir,|'/usr/share/pixmaps',|" $_tarname/resources/app/app_bootstrap/autoStart/linux.js
|
||||
sed -i "s#^module\.paths.*;#module.paths = [(process.env.XDG_CONFIG_HOME || (process.env.HOME + \"/.config\")) + \"/discord/$pkgver/modules\"];#" Discord/resources/app/app_bootstrap/requireNative.js
|
||||
asar p $_tarname/resources/app $_tarname/resources/app.asar --unpack-dir '**'
|
||||
rm -rf $_tarname/resources/app
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue