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 /PKGBUILD | |
parent | ab003b060ac9b240059cfed98a25e387a94f9757 (diff) | |
download | aur-674eea073c292a9d07c6690341df760f06ac0732.tar.gz |
Use electron4 instead of bundling our own electron, remove unused dependencies
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -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 } |