summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Henrie2019-11-20 18:45:37 -0700
committerAlex Henrie2019-11-20 18:45:37 -0700
commitb56008b5a62830d2803f9083aa0dc9548662ade7 (patch)
treefe83f23b77848afacc631ea80e7849390f82beed
parentffa9c1126ab5024bb7a3ffa0257eb4b57b61a534 (diff)
downloadaur-b56008b5a62830d2803f9083aa0dc9548662ade7.tar.gz
Cache NPM packages in $srcdir/npm-cache instead of $HOME/.npm
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 64bbaaf71110..7a610ef32d47 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ipfs-desktop
pkgdesc = Desktop client for the InterPlanetary File System
pkgver = 0.9.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ipfs-shipyard/ipfs-desktop
install = ipfs-desktop.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index d1b1b5e82a38..850389a12c29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alex Henrie <alexhenrie24@gmail.com>
pkgname=ipfs-desktop
pkgver=0.9.7
-pkgrel=1
+pkgrel=2
pkgdesc="Desktop client for the InterPlanetary File System"
arch=(x86_64)
url="https://github.com/ipfs-shipyard/$pkgname"
@@ -16,7 +16,7 @@ build() {
cd "$pkgname-$pkgver"
npm install
npm run-script build:babel
- npx electron-builder build --linux pacman
+ npx electron-builder build --linux pacman --cache "$srcdir/npm-cache"
}
package() {