diff options
author | Jaime Martínez Rincón | 2021-04-15 22:29:37 +0200 |
---|---|---|
committer | Jaime Martínez Rincón | 2021-04-15 22:29:37 +0200 |
commit | 619d480014f814ae1c4e264418412688c2ed18f4 (patch) | |
tree | 030411feb82d899c3f3368e49b030b68e3560e52 | |
parent | 694e9de8abe24156268e1851fee0e59d1868218b (diff) | |
download | aur-619d480014f814ae1c4e264418412688c2ed18f4.tar.gz |
npm and electron cache in srcdir
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = notion-app pkgdesc = The all-in-one workspace for your notes and tasks pkgver = 2.0.16 - pkgrel = 4 + pkgrel = 5 epoch = 2 url = https://www.notion.so/desktop arch = i686 @@ -1,7 +1,7 @@ # Maintainer: Jaime Martínez Rincón <jaime@jamezrin.name> pkgname=notion-app pkgver=2.0.16 -pkgrel=4 +pkgrel=5 epoch=2 pkgdesc="The all-in-one workspace for your notes and tasks" arch=('i686' 'x86_64') @@ -34,14 +34,14 @@ build() { msg "Recreating package node_modules..." rm -r node_modules - npm install + HOME="$srcdir/.electron-gyp" npm install --cache "${srcdir}/npm-cache" node_modules/.bin/patch-package msg "Converting app icon..." convert "icon.ico[0]" "icon.png" >/dev/null msg "Building electron package..." - npm install electron@11 electron-builder --save-dev + npm install electron@11 electron-builder --save-dev --cache "${srcdir}/npm-cache" node_modules/.bin/electron-builder --linux dir cd "${srcdir}" |