diff options
author | Sophie 'Sharky' Schumann | 2020-07-10 11:14:18 +0200 |
---|---|---|
committer | Sophie 'Sharky' Schumann | 2020-07-10 11:14:18 +0200 |
commit | bd87b8488db368e03aae64b9a636104072b016a5 (patch) | |
tree | 20153661d2e7dcd503bd1d416540d06ad1584976 | |
parent | 3e714b6a599d1e5642a9ac3a5fe2751b39db5cdd (diff) | |
download | aur-bd87b8488db368e03aae64b9a636104072b016a5.tar.gz |
updated to use revolution config.sample.json
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 3 insertions, 15 deletions
@@ -1,7 +1,7 @@ pkgbase = revolution-desktop-git pkgdesc = A glossy Matrix collaboration client for the desktop. pkgver = r9235.99ae606c - pkgrel = 1 + pkgrel = 2 url = https://gitlab.eastcoast.hosting/ponies/riot-web arch = x86_64 license = custom:CSL @@ -1,6 +1,6 @@ pkgbase=revolution-desktop-git pkgver=r9235.99ae606c -pkgrel=1 +pkgrel=2 pkgname=(revolution-web-git revolution-desktop-git) pkgdesc="A glossy Matrix collaboration client for the desktop." arch=('x86_64') @@ -36,18 +36,6 @@ pkgver() { ) } -prepare() { - cd riot-desktop - # Switch target to output to directory rather than .deb package - # @todo this needs to be fixed - sed -i 's/"target": "deb"/"target": "dir"/g' package.json - sed -i 's@"https://packages.riot.im/desktop/update/"@null@g' riot.im/release/config.json - - cd ../riot-web - # Disable auto updating - sed -i 's@"https://packages.riot.im/desktop/update/"@null@g' riot.im/app/config.json -} - build() { cd matrix-js-sdk yarn install @@ -105,7 +93,7 @@ package_revolution-desktop-git() { # Config file ln -s /etc/revolution/config.json "${pkgdir}"/etc/webapps/revolution/config.json - install -Dm644 riot.im/release/config.json -t "${pkgdir}"/etc/revolution/ + install -Dm644 config.sample.json -t "${pkgdir}"/etc/revolution/config.json # Required extras install -Dm644 ../revolution-desktop.desktop "${pkgdir}"/usr/share/applications/revolution-desktop.desktop |