uppkg: discord 0.0.44-2: bump to electron29
This commit is contained in:
parent
cc099641eb
commit
2a87d35dce
2 changed files with 5 additions and 4 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,12 +1,12 @@
|
||||||
pkgbase = discord_arch_electron
|
pkgbase = discord_arch_electron
|
||||||
pkgdesc = Discord (popular voice + video app) using the system provided electron for increased security and performance
|
pkgdesc = Discord (popular voice + video app) using the system provided electron for increased security and performance
|
||||||
pkgver = 0.0.44
|
pkgver = 0.0.44
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://discord.com
|
url = https://discord.com
|
||||||
arch = any
|
arch = any
|
||||||
license = custom
|
license = custom
|
||||||
makedepends = asar
|
makedepends = asar
|
||||||
depends = electron26
|
depends = electron
|
||||||
depends = libxss
|
depends = libxss
|
||||||
optdepends = libpulse: Pulseaudio support
|
optdepends = libpulse: Pulseaudio support
|
||||||
optdepends = xdg-utils: Open files
|
optdepends = xdg-utils: Open files
|
||||||
|
|
5
PKGBUILD
5
PKGBUILD
|
@ -4,10 +4,10 @@
|
||||||
# Contributor: johnnyapol <arch@johnnyapol.me>
|
# Contributor: johnnyapol <arch@johnnyapol.me>
|
||||||
# Based off the discord community repo PKGBUILD by Filipe Laíns (FFY00) <lains@archlinux.org>
|
# Based off the discord community repo PKGBUILD by Filipe Laíns (FFY00) <lains@archlinux.org>
|
||||||
_pkgname=discord
|
_pkgname=discord
|
||||||
_electron=electron26
|
_electron=electron
|
||||||
pkgname=${_pkgname}_arch_electron
|
pkgname=${_pkgname}_arch_electron
|
||||||
pkgver=0.0.44
|
pkgver=0.0.44
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
|
pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
provides=("${_pkgname}")
|
provides=("${_pkgname}")
|
||||||
|
@ -37,6 +37,7 @@ prepare() {
|
||||||
rm Discord/resources/app.asar
|
rm Discord/resources/app.asar
|
||||||
sed -i "s|process.resourcesPath|'/usr/share/${_pkgname}/resources'|" Discord/resources/app/app_bootstrap/buildInfo.js
|
sed -i "s|process.resourcesPath|'/usr/share/${_pkgname}/resources'|" Discord/resources/app/app_bootstrap/buildInfo.js
|
||||||
sed -i "s|exeDir,|'/usr/share/pixmaps',|" Discord/resources/app/app_bootstrap/autoStart/linux.js
|
sed -i "s|exeDir,|'/usr/share/pixmaps',|" Discord/resources/app/app_bootstrap/autoStart/linux.js
|
||||||
|
sed -i -E "s|resourcesPath = _path.+;|resourcesPath = '/usr/share/${_pkgname}/resources';|" Discord/resources/app/common/paths.js
|
||||||
asar p Discord/resources/app Discord/resources/app.asar
|
asar p Discord/resources/app Discord/resources/app.asar
|
||||||
rm -rf Discord/resources/app
|
rm -rf Discord/resources/app
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue