diff options
author | jikstra | 2019-12-28 00:50:46 +0100 |
---|---|---|
committer | jikstra | 2019-12-28 00:50:46 +0100 |
commit | 674eea073c292a9d07c6690341df760f06ac0732 (patch) | |
tree | 94b27995a4fa8f007f67d14b742dc44ee5ab7878 | |
parent | ab003b060ac9b240059cfed98a25e387a94f9757 (diff) | |
download | aur-674eea073c292a9d07c6690341df760f06ac0732.tar.gz |
Use electron4 instead of bundling our own electron, remove unused dependencies
-rw-r--r-- | .SRCINFO | 14 | ||||
-rwxr-xr-x | PKGBUILD | 17 | ||||
-rw-r--r-- | deltachat-desktop.sh | 2 |
3 files changed, 9 insertions, 24 deletions
@@ -1,26 +1,20 @@ pkgbase = deltachat-desktop-git pkgdesc = A privacy oriented chat application built on e-mail - pkgver = v0.105.0.pre2.r235.g7424ae5 + pkgver = 0.901.0.r12.g12878073 pkgrel = 1 url = https://github.com/deltachat/deltachat-desktop arch = any license = GPL makedepends = npm + makedepends = nodejs makedepends = git - makedepends = meson - makedepends = ninja - depends = nodejs>=11.14.0-1 - depends = openssl>=1.0 - depends = sqlite - depends = libsasl - depends = zlib - depends = bzip2 + depends = electron4 source = deltachat-desktop-git::git://github.com/deltachat/deltachat-desktop.git source = deltachat-desktop.desktop source = deltachat-desktop.sh sha256sums = SKIP sha256sums = 5772cf1942bd4fb1ecddfff4a4ad4783140960b1d109861908567fbd0fc3a553 - sha256sums = a0e3e682621f644133f21cf1844da6661378d1065f28e0dfd25f4636a6ca6dc2 + sha256sums = 0afb3320e8f7632f8c2a4dc7414c51ced19f01544b3be6e5045626c070c7648c pkgname = deltachat-desktop-git @@ -1,13 +1,13 @@ # Maintainer: Jikstra <jikstra@disroot.org> pkgname=deltachat-desktop-git -pkgver=v0.105.0.pre2.r235.g7424ae5 +pkgver=0.901.0.r12.g12878073 pkgrel=1 pkgdesc="A privacy oriented chat application built on e-mail" arch=("any") url="https://github.com/deltachat/deltachat-desktop" license=("GPL") -depends=('nodejs>=11.14.0-1' 'openssl>=1.0' 'sqlite' 'libsasl' 'zlib' 'bzip2') -makedepends=('npm' 'git' 'meson' 'ninja') +depends=('electron4') +makedepends=('npm' 'nodejs' 'git') source=( "deltachat-desktop-git::git://github.com/deltachat/deltachat-desktop.git" "deltachat-desktop.desktop" @@ -17,7 +17,7 @@ source=( sha256sums=( "SKIP" "5772cf1942bd4fb1ecddfff4a4ad4783140960b1d109861908567fbd0fc3a553" - "a0e3e682621f644133f21cf1844da6661378d1065f28e0dfd25f4636a6ca6dc2" + "0afb3320e8f7632f8c2a4dc7414c51ced19f01544b3be6e5045626c070c7648c" ) @@ -34,17 +34,8 @@ prepare() { npm install --verbose npm run build - # Save electron. this will otherwise get removed by the prune command - mkdir -p tmp_node_modules - mkdir -p tmp_node_modules/.bin - mv node_modules/electron tmp_node_modules - # Delete development dependencies, we don't need them anymore npm prune --production - - # Put back electron - mv tmp_node_modules/* node_modules - rm -rf tmp_node_modules } diff --git a/deltachat-desktop.sh b/deltachat-desktop.sh index 326a6a1a9bf5..d36775cf4285 100644 --- a/deltachat-desktop.sh +++ b/deltachat-desktop.sh @@ -1,4 +1,4 @@ #!/bin/bash -cd /opt/DeltaChat/electron_app && ./node_modules/electron/cli.js . "$@" +cd /opt/DeltaChat/electron_app && electron4 . "$@" |