Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions srcpkgs/element-desktop/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'element-desktop'
pkgname=element-desktop
version=1.12.1
version=1.12.10
revision=1
_electronver=35
create_wrksrc=yes
Expand All @@ -18,8 +18,8 @@ homepage="https://element.io"
changelog="https://raw.githubusercontent.com/vector-im/element-desktop/develop/CHANGELOG.md"
distfiles="https://github.com/vector-im/element-desktop/archive/v${version}.tar.gz>element-desktop-v${version}.tar.gz
https://github.com/vector-im/element-web/archive/v${version}.tar.gz>element-web-v${version}.tar.gz"
checksum="9bdf5388686c187ffd1c9583f3b42d2cffcb3619bc7740b27ee07ccc2e456db2
e1f53f6a186d67b58ed6d6487cdcc33675de12cd3f7bcba5248eb2c14d4f70d4"
checksum="2aa491d4601b0af20c36fff0133ea19a3585b16d9217d3ec9df9fe256d6167dd
17f6253497879f70f9c23729a25d77f0259ec7a9a43a33eeaebc45686922912b"

export USE_SYSTEM_APP_BUILDER=true

Expand All @@ -43,10 +43,10 @@ pre_build() {
esac

cd element-web
yarn install --no-fund --ignore-scripts --frozen-lockfile
yarn install --no-fund --frozen-lockfile

cd ../element-desktop
yarn install --no-fund --ignore-scripts --frozen-lockfile
yarn install --no-fund --frozen-lockfile
}

do_build() {
Expand Down Expand Up @@ -89,7 +89,7 @@ do_build() {
npm rebuild keytar-forked --nodedir=/usr/include/electron35/node_headers --build-from-source

# stripping in build because it gets into asar
/usr/bin/$STRIP node_modules/keytar-forked/build/Release/keytar.node
/usr/bin/$STRIP .hak/hakModules/matrix-seshat/index.node

tasje -c ./electron-builder.json pack
}
Expand All @@ -109,7 +109,6 @@ do_install() {
cd ../element-desktop
vinstall webapp.asar 644 usr/lib/element-desktop
vinstall dist/resources/app.asar 644 usr/lib/element-desktop/resources
vcopy dist/resources/app.asar.unpacked usr/lib/element-desktop/resources

vcopy build usr/lib/element-desktop/resources
vinstall dist/element-desktop.desktop 644 usr/share/applications
Expand Down