summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIan MacKay2018-07-24 22:48:59 -0700
committerIan MacKay2018-07-24 22:48:59 -0700
commit63acf488a04985e200adf3dd8f7a1e90a3270e10 (patch)
treeb01e445febbc216ba4b2b0fcf15f3b85979e3b1c /PKGBUILD
parenta852ab1fe7fa1308714312f6a19746563172c901 (diff)
downloadaur-63acf488a04985e200adf3dd8f7a1e90a3270e10.tar.gz
Update to 1.3.0 beta 4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 234b8bae5ea5..91f219cc7b16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname='github-desktop'
pkgname="${_pkgname}"
-pkgver=1.1.1
+pkgver=1.3.0_beta4
gitname="release-${pkgver//_/-}"
pkgrel=1
pkgdesc="GUI for managing Git and GitHub."
@@ -13,7 +13,7 @@ url="https://desktop.github.com"
license=('MIT')
depends=('gnome-keyring' 'git' 'electron' 'nodejs' 'libcurl-compat' 'libcurl-gnutls')
optdepends=('hub: CLI interface for GitHub.')
-makedepends=('libcurl-openssl-1.0' 'xorg-server-xvfb' 'yarn' 'python2')
+makedepends=('libcurl-openssl-1.0' 'xorg-server-xvfb' 'yarn' 'python2' 'nvm')
DLAGENTS=("http::/usr/bin/git clone --branch ${gitname} --single-branch %u")
source=(
git+https://github.com/desktop/desktop.git#tag=${gitname}
@@ -25,10 +25,15 @@ sha256sums=(
)
build() {
cd desktop
+ unset npm_config_prefix
+ source /usr/share/nvm/init-nvm.sh
+ nvm install --lts
+ nvm use --lts
export DISPLAY=':99.0'
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
yarn install
yarn build:prod
+ nvm deactivate
}
package() {
install -d "${pkgdir}/opt/${_pkgname}"