diff options
author | surefire | 2019-05-03 07:47:28 +0300 |
---|---|---|
committer | surefire | 2019-05-03 07:47:28 +0300 |
commit | 270a53680991c0c9842715fc41329cd44a4d248e (patch) | |
tree | f62726b7a0af9def444f762784c1ff4265d5a4cc /PKGBUILD | |
parent | 083a1cdedb4ce8e89fa86213c5d513d95f496f2f (diff) | |
download | aur-270a53680991c0c9842715fc41329cd44a4d248e.tar.gz |
Fix electron4 build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,14 +1,19 @@ # Maintainer: surefire <surefire@cryptomile.net> pkgname=ghetto-skype-git -pkgver=1.6.0+5+g635a575 +pkgver=1.6.0+7+g5ae7d28 pkgrel=1 pkgdesc="This is an electron client that uses Web Skype to better integrate with desktop environments found on Linux." arch=("x86_64") url="https://github.com/stanfieldr/ghetto-skype" license=("GPL3") depends=('electron') -makedepends=('npm' 'asar') +makedepends=( + 'asar' + 'gcc' + 'npm' + 'pkgconf' +) conflicts=(${pkgname%-git}) provides=(${pkgname%-git}) options=(!emptydirs) @@ -37,9 +42,10 @@ build() { cd "${pkgname}/src" export npm_config_runtime=electron - export npm_config_target=$(sed s/^v// /usr/lib/electron/version) - export npm_config_nodedir=/usr/lib/electron/node + export npm_config_target=$(</usr/lib/electron/version) + export npm_config_disturl=https://atom.io/download/electron export npm_config_build_from_source=true + export npm_config_optional=false npm install --production |