summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Wang2021-09-16 18:46:35 -0500
committerAnthony Wang2021-09-16 18:46:35 -0500
commit603f3643912a1f3039ec50416133dee6ceb62e81 (patch)
tree4fc4009c0547f61519180db7eb4a7c42713aff59
parent5bdcdf7451b5aab2e15d5f8129c0079c43a81662 (diff)
downloadaur-603f3643912a1f3039ec50416133dee6ceb62e81.tar.gz
Fix Module not found errors and remove -git from binary name
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f41d6f875de..d32e0a3a23d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = element-desktop-git
pkgdesc = Glossy Matrix collaboration client —
- pkgver = 1.8.1.r41.gc6e6ac18a
+ pkgver = 1.8.5.r27.g1aa2efd2c
pkgrel = 1
url = https://element.io
arch = x86_64
@@ -15,7 +15,6 @@ pkgbase = element-desktop-git
makedepends = nodejs-lts-fermium
provides = element-web
conflicts = element-web
- replaces = element-desktop-git
source = element-web::git+https://github.com/vector-im/element-web.git
source = element-desktop::git+https://github.com/vector-im/element-desktop.git
source = autolaunch.patch
@@ -36,7 +35,7 @@ pkgname = element-web-git
pkgname = element-desktop-git
pkgdesc = Glossy Matrix collaboration client — desktop version.
- depends = element-web-git=1.8.1.r41.gc6e6ac18a
+ depends = element-web-git=1.8.5.r27.g1aa2efd2c
depends = electron
depends = sqlcipher
provides = element-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 0414ec3bdaf..2d5f5b274ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,10 +5,9 @@
pkgbase=element-desktop-git
pkgname=(element-web-git element-desktop-git)
-pkgver=1.8.1.r41.gc6e6ac18a
+pkgver=1.8.5.r27.g1aa2efd2c
pkgrel=1
pkgdesc="Glossy Matrix collaboration client — "
-replaces=(element-desktop-git)
arch=(x86_64)
url="https://element.io"
license=(Apache)
@@ -51,6 +50,9 @@ prepare() {
sed -i 's|"electronVersion": "13.1.6"|"electronVersion": "13.1.8"|' package.json
sed -i 's|"https://packages.riot.im/desktop/update/"|null|' element.io/release/config.json
yarn install --no-fund
+
+ cd ../element-web/node_modules/matrix-react-sdk
+ yarn reskindex
}
build() {
@@ -100,7 +102,7 @@ package_element-desktop-git() {
# Required extras
install -Dm644 ../io.element.Element.desktop -t "${pkgdir}"/usr/share/applications/
- install -Dm755 ../${pkgname}.sh "${pkgdir}"/usr/bin/${pkgname}
+ install -Dm755 ../${pkgname%-git}.sh "${pkgdir}"/usr/bin/${pkgname%-git}
# Icons
install -Dm644 ../element-web/res/themes/element/img/logos/element-logo.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/io.element.Element.svg