summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Bundy2018-08-06 17:08:22 -0700
committerChristian Bundy2018-08-06 17:08:22 -0700
commitd73ca25c95e312c24b23afdf7bbda36660efebaa (patch)
tree106694209ba36b3dff73de38d5e9c01a310873e4
parent7fdfa3eb80f9c866064c2fa431f1ec83036de0c4 (diff)
downloadaur-d73ca25c95e312c24b23afdf7bbda36660efebaa.tar.gz
Depend on system Electron
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD10
-rwxr-xr-xrun.sh2
3 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 193f51a8bd0..c53bd33d071 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ssb-patchwork-git
pkgdesc = A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB)
- pkgver = 3.10.1.r2.gf6309ea8
- pkgrel = 2
+ pkgver = 3.10.1.r13.g72852e6b
+ pkgrel = 3
url = https://github.com/ssbc/patchwork
arch = i686
arch = x86_64
@@ -17,14 +17,15 @@ pkgbase = ssb-patchwork-git
depends = gtk2
depends = alsa-lib
depends = nss
- provides = ssb-patchwork=3.10.1.r2.gf6309ea8
+ depends = electron
+ provides = ssb-patchwork=3.10.1.r13.g72852e6b
conflicts = ssb-patchwork
options = !strip
source = git+https://github.com/ssbc/patchwork.git
source = run.sh
source = ssb-patchwork.desktop
sha512sums = SKIP
- sha512sums = bbcd812b57fbef59993db18e7ac650013afe671846f7ea7b4908e7e664508a034851b336de2593dad11d871e803e55548896d55468339d91d4d4023ea2fe3b08
+ sha512sums = ab36b2c19104e7c9848e9db23dccd8db82d26299ba90005b37f60fcf93cd6b67879f0b428bd75b5902fe055ace349127c76e94dfcacf8414008a5fbdd8cae813
sha512sums = 09292ec2f7c02d741cbeb046bd99293f4d144314d0233252dd34a619e1aacbbbf28078677c0871d367240e29aa50d9197bbe0a35e5b14f7ff9a6288c386124f6
pkgname = ssb-patchwork-git
diff --git a/PKGBUILD b/PKGBUILD
index bd74f5bf0f7..80a25231a26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,13 @@
pkgname=ssb-patchwork-git
_srcname=patchwork
_aurname=ssb-patchwork
-pkgver=3.10.1.r2.gf6309ea8
-pkgrel=2
+pkgver=3.10.1.r13.g72852e6b
+pkgrel=3
pkgdesc="A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB)"
arch=('i686' 'x86_64')
url="https://github.com/ssbc/patchwork"
license=('AGPL3')
-depends=('libxtst' 'libxext' 'libxkbfile' 'gconf' 'libsodium' 'libxss' 'gtk2' 'alsa-lib' 'nss')
+depends=('libxtst' 'libxext' 'libxkbfile' 'gconf' 'libsodium' 'libxss' 'gtk2' 'alsa-lib' 'nss' 'electron')
makedepends=('nodejs' 'npm')
provides=("ssb-patchwork=${pkgver}")
conflicts=('ssb-patchwork')
@@ -22,7 +22,7 @@ source=(
sha512sums=(
'SKIP'
-'bbcd812b57fbef59993db18e7ac650013afe671846f7ea7b4908e7e664508a034851b336de2593dad11d871e803e55548896d55468339d91d4d4023ea2fe3b08'
+'ab36b2c19104e7c9848e9db23dccd8db82d26299ba90005b37f60fcf93cd6b67879f0b428bd75b5902fe055ace349127c76e94dfcacf8414008a5fbdd8cae813'
'09292ec2f7c02d741cbeb046bd99293f4d144314d0233252dd34a619e1aacbbbf28078677c0871d367240e29aa50d9197bbe0a35e5b14f7ff9a6288c386124f6'
)
@@ -36,7 +36,7 @@ pkgver() {
build() {
cd "${srcdir}/${_srcname}"
- npm ci
+ npm ci --only=production
npm run rebuild
}
diff --git a/run.sh b/run.sh
index e0a253560e4..123ef62c256 100755
--- a/run.sh
+++ b/run.sh
@@ -1,4 +1,4 @@
#!/bin/bash
cd /opt/ssb-patchwork
-./node_modules/.bin/electron index.js "$@"
+electron index.js "$@"