1
This commit is contained in:
@ -4,7 +4,7 @@ release='1'
|
||||
desc='Vesktop gives you the performance of web Discord and the comfort of Discord Desktop'
|
||||
homepage='https://github.com/Vencord/Vesktop'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64' 'aarch64')
|
||||
architectures=('amd64')
|
||||
license=('GPL3')
|
||||
provides=('vencord')
|
||||
conflicts=('vencord')
|
||||
@ -12,7 +12,7 @@ conflicts=('vencord')
|
||||
deps=('electron')
|
||||
deps_redos=('electron')
|
||||
build_deps=('pnpm' 'git')
|
||||
optdepends=(
|
||||
opt_deps=(
|
||||
'libnotify: Notifications'
|
||||
'xdg-utils: Open links, files, etc'
|
||||
'xdg-desktop-portal: Screensharing with Wayland'
|
||||
@ -24,10 +24,7 @@ checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/Vesktop-${version}
|
||||
mkdir /usr/lib/npm
|
||||
cd /usr/lib/npm
|
||||
npm install electron --save-dev
|
||||
sed -i '/linux/s/^/ "electronDist": "\/usr\/lib\/npm\/node_modules\/electron",\n/' "${srcdir}/Vesktop-${version}/package.json"
|
||||
sed -i '/linux/s/^/ "electronDist": "\/usr\/lib\/electron",\n/' "${srcdir}/Vesktop-${version}/package.json"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
Reference in New Issue
Block a user