summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Ettinger2021-01-17 14:13:06 -0800
committerAnthony Ettinger2021-01-17 14:13:06 -0800
commitdf85bb47f28a1b3dfd159d77ded1fa2eea1de81b (patch)
treef08beb746b60f1d4e0168e93aeda1bd24d80b349
parentfaca82c76ae575d562fbe02c69fb0b1caf2f5231 (diff)
downloadaur-df85bb47f28a1b3dfd159d77ded1fa2eea1de81b.tar.gz
update to v6
-rw-r--r--PKGBUILD15
-rwxr-xr-xcabal-desktop-git.sh2
2 files changed, 9 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4a946f50bca..1f62ddb910e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,26 @@
# Maintainer: davedatum <ask at davedatum dot com>
pkgname=cabal-desktop-git
-pkgver=4.0.0.r0.g9efb32b
+pkgver=6.0.6.r0.gbdfa839
pkgrel=1
pkgdesc="Desktop client for Cabal, the p2p/decentralized/local-first chat platform."
arch=("x86_64")
url="https://github.com/cabal-club/cabal-desktop"
license=("AGPL3")
-depends=("electron5")
+depends=("electron")
makedepends=("git" "npm" "libicns" "imagemagick")
provides=("${pkgname}")
conflicts=("${pkgname}")
install=${pkgname}.install
-source=("${pkgname}::git+$url.git#tag=v4.0.0"
+source=("${pkgname}::git+$url.git#tag=v6.0.6"
"${pkgname}.sh"
"${pkgname}.desktop"
"${pkgname}.install")
md5sums=('SKIP'
- 'a64677d2e3fc1a39ec60f6d2a3addef2'
+ 'e2b47a95567f38d7559a132fb5d8ab11'
'8448a411c5cf2621959f7d33ce2110fb'
- 'bbbc6b7a1102ca32c9ac39b47d7742de')
+ 'bbbc6b7a1102ca32c9ac39b47d7742de'
+)
prepare() {
sed -i -e '/"scripts": {/a "linux": "npm run build && electron-rebuild -f -w sodium-native && electron-builder --dir ",' \
@@ -39,7 +40,7 @@ pkgver() {
build() {
cd "${srcdir}/${pkgname}"
- npm install && npm run linux
+ npm install --legacy-peer-deps && npm run linux
}
package() {
@@ -60,4 +61,4 @@ package() {
convert "${srcdir}/${pkgname}/build/*.png" \
-resize "$_size" "${pkgdir}/usr/share/icons/hicolor/${_size}/apps/${pkgname}.png"
done
-} \ No newline at end of file
+}
diff --git a/cabal-desktop-git.sh b/cabal-desktop-git.sh
index b273339dc1a..1c8c43a58d7 100755
--- a/cabal-desktop-git.sh
+++ b/cabal-desktop-git.sh
@@ -1,4 +1,4 @@
#!/bin/bash
# Launch application
-exec electron5 /opt/cabal-desktop-git/app.asar "$@" \ No newline at end of file
+exec electron /opt/cabal-desktop-git/app.asar "$@"