[arch-commits] Commit in element.io/repos/community-x86_64 (6 files)
Bruno Pagani
archange at archlinux.org
Mon Jul 20 16:14:22 UTC 2020
Date: Monday, July 20, 2020 @ 16:14:22
Author: archange
Revision: 664636
archrelease: copy trunk to community-x86_64
Added:
element.io/repos/community-x86_64/PKGBUILD
(from rev 664635, element.io/trunk/PKGBUILD)
element.io/repos/community-x86_64/element-desktop.sh
(from rev 664635, element.io/trunk/element-desktop.sh)
element.io/repos/community-x86_64/io.element.Desktop.desktop
(from rev 664635, element.io/trunk/io.element.Desktop.desktop)
Deleted:
element.io/repos/community-x86_64/PKGBUILD
element.io/repos/community-x86_64/element-desktop.sh
element.io/repos/community-x86_64/element.desktop
----------------------------+
PKGBUILD | 184 +++++++++++++++++++++----------------------
element-desktop.sh | 6 -
element.desktop | 10 --
io.element.Desktop.desktop | 10 ++
4 files changed, 105 insertions(+), 105 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-20 16:14:06 UTC (rev 664635)
+++ PKGBUILD 2020-07-20 16:14:22 UTC (rev 664636)
@@ -1,92 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Steef Hegeman <mail at steefhegeman.com>
-# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>
-# Contributor: Julian Schacher <jspp at posteo.net>
-
-_pkgbase=riot
-pkgbase=element.io
-pkgname=(element-web element-desktop)
-pkgver=1.7.1
-pkgrel=1
-pkgdesc="Glossy Matrix collaboration client — "
-arch=(x86_64)
-url="https://element.io"
-license=(Apache)
-makedepends=(npm git yarn python rust sqlcipher electron)
-_url="https://github.com/vector-im/riot"
-source=(element-web-${pkgver}.tar.gz::${_url}-web/archive/v${pkgver}.tar.gz
- element-web-${pkgver}.tar.gz.asc::${_url}-web/releases/download/v${pkgver}/v${pkgver}-src.tar.gz.asc
- element-desktop-${pkgver}.tar.gz::${_url}-desktop/archive/v${pkgver}.tar.gz
- element-desktop-${pkgver}.tar.gz.asc::${_url}-desktop/releases/download/v${pkgver}/v${pkgver}-src.tar.gz.asc
- element.desktop
- element-desktop.sh)
-sha256sums=('e26ad0d5ce192de4dfe29dd0cee296dddf77c043ae6e23ffcc6fc5c5fdb959b2'
- 'SKIP'
- '6d92437d3cd3d7846a21616a98759e9d0c1cabd07bcbbedf1e933c1baf55b287'
- 'SKIP'
- '07b26f0d4d8fa2308d56ab8d1b9edc8089cfd02d2d1fd3b844bd7cade7c031b3'
- '7b9beb0999e99beebb85e142fe6d26e9b386ce6b636675610d4caccdfb7fd293')
-validpgpkeys=(A878CDF66CF4A9B4807CEBE574692659BDA3D940) # Riot Releases <releases at riot.im>
-
-prepare() {
- cd riot-web-${pkgver}
- # Switch target to output to directory rather than .deb package
- sed -i 's/"target": "deb"/"target": "dir"/g' package.json
- yarn install
-
- cd ../riot-desktop-${pkgver}
- sed -i 's@"https://packages.riot.im/desktop/update/"@null at g' element.io/release/config.json
- yarn install
-}
-
-build() {
- cd riot-web-${pkgver}
- yarn build
-
- cd ../riot-desktop-${pkgver}
- yarn run build:native
- yarn run build
-}
-
-package_element-web() {
- pkgdesc+="web version."
- replaces=(riot-web vector-web)
-
- cd riot-web-${pkgver}
-
- install -d "${pkgdir}"/{usr/share/webapps,etc/webapps}/element
-
- cp -r webapp/* "${pkgdir}"/usr/share/webapps/element/
- install -Dm644 config.sample.json -t "${pkgdir}"/etc/webapps/element/
- ln -s /etc/webapps/element/config.json "${pkgdir}"/usr/share/webapps/element/
- echo "${pkgver}" > "${pkgdir}"/usr/share/webapps/element/version
-}
-
-package_element-desktop() {
- pkgdesc+="desktop version."
- replaces=(riot-desktop)
- depends=("element-web=${pkgver}" electron sqlcipher)
- backup=('etc/element/config.json')
-
- cd riot-desktop-${pkgver}
-
- install -d "${pkgdir}"{/usr/lib/element/,/etc/webapps/element}
-
- # Install the app content, replace the webapp with a symlink to the system package
- cp -r dist/linux-unpacked/resources/* "${pkgdir}"/usr/lib/element/
- ln -s /usr/share/webapps/element "${pkgdir}"/usr/lib/element/webapp
-
- # Config file
- ln -s /etc/element/config.json "${pkgdir}"/etc/webapps/element/config.json
- install -Dm644 element.io/release/config.json -t "${pkgdir}"/etc/element
-
- # Required extras
- install -Dm644 ../element.desktop "${pkgdir}"/usr/share/applications/element.desktop
- install -Dm755 ../${pkgname}.sh "${pkgdir}"/usr/bin/${pkgname}
-
- # Icons
- install -Dm644 ../riot-web-${pkgver}/res/themes/element/img/logos/element-logo.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/element.svg
- for i in 16 24 48 64 96 128 256 512; do
- install -Dm644 build/icons/${i}x${i}.png "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/element.png
- done
-}
Copied: element.io/repos/community-x86_64/PKGBUILD (from rev 664635, element.io/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-20 16:14:22 UTC (rev 664636)
@@ -0,0 +1,92 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Steef Hegeman <mail at steefhegeman.com>
+# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>
+# Contributor: Julian Schacher <jspp at posteo.net>
+
+_pkgbase=riot
+pkgbase=element.io
+pkgname=(element-web element-desktop)
+pkgver=1.7.1
+pkgrel=2
+pkgdesc="Glossy Matrix collaboration client — "
+arch=(x86_64)
+url="https://element.io"
+license=(Apache)
+makedepends=(npm git yarn python rust sqlcipher electron)
+_url="https://github.com/vector-im/riot"
+source=(element-web-${pkgver}.tar.gz::${_url}-web/archive/v${pkgver}.tar.gz
+ element-web-${pkgver}.tar.gz.asc::${_url}-web/releases/download/v${pkgver}/v${pkgver}-src.tar.gz.asc
+ element-desktop-${pkgver}.tar.gz::${_url}-desktop/archive/v${pkgver}.tar.gz
+ element-desktop-${pkgver}.tar.gz.asc::${_url}-desktop/releases/download/v${pkgver}/v${pkgver}-src.tar.gz.asc
+ io.element.Desktop.desktop
+ element-desktop.sh)
+sha256sums=('e26ad0d5ce192de4dfe29dd0cee296dddf77c043ae6e23ffcc6fc5c5fdb959b2'
+ 'SKIP'
+ '6d92437d3cd3d7846a21616a98759e9d0c1cabd07bcbbedf1e933c1baf55b287'
+ 'SKIP'
+ '51f5ff93ee354c1840cbb2f47055603d3e66939f52467dacf45cd3271d7f32a3'
+ '7b9beb0999e99beebb85e142fe6d26e9b386ce6b636675610d4caccdfb7fd293')
+validpgpkeys=(A878CDF66CF4A9B4807CEBE574692659BDA3D940) # Riot Releases <releases at riot.im>
+
+prepare() {
+ cd riot-web-${pkgver}
+ # Switch target to output to directory rather than .deb package
+ sed -i 's/"target": "deb"/"target": "dir"/g' package.json
+ yarn install
+
+ cd ../riot-desktop-${pkgver}
+ sed -i 's@"https://packages.riot.im/desktop/update/"@null at g' element.io/release/config.json
+ yarn install
+}
+
+build() {
+ cd riot-web-${pkgver}
+ yarn build
+
+ cd ../riot-desktop-${pkgver}
+ yarn run build:native
+ yarn run build
+}
+
+package_element-web() {
+ pkgdesc+="web version."
+ replaces=(riot-web vector-web)
+
+ cd riot-web-${pkgver}
+
+ install -d "${pkgdir}"/{usr/share/webapps,etc/webapps}/element
+
+ cp -r webapp/* "${pkgdir}"/usr/share/webapps/element/
+ install -Dm644 config.sample.json -t "${pkgdir}"/etc/webapps/element/
+ ln -s /etc/webapps/element/config.json "${pkgdir}"/usr/share/webapps/element/
+ echo "${pkgver}" > "${pkgdir}"/usr/share/webapps/element/version
+}
+
+package_element-desktop() {
+ pkgdesc+="desktop version."
+ replaces=(riot-desktop)
+ depends=("element-web=${pkgver}" electron sqlcipher)
+ backup=('etc/element/config.json')
+
+ cd riot-desktop-${pkgver}
+
+ install -d "${pkgdir}"{/usr/lib/element/,/etc/webapps/element}
+
+ # Install the app content, replace the webapp with a symlink to the system package
+ cp -r dist/linux-unpacked/resources/* "${pkgdir}"/usr/lib/element/
+ ln -s /usr/share/webapps/element "${pkgdir}"/usr/lib/element/webapp
+
+ # Config file
+ ln -s /etc/element/config.json "${pkgdir}"/etc/webapps/element/config.json
+ install -Dm644 element.io/release/config.json -t "${pkgdir}"/etc/element
+
+ # Required extras
+ install -Dm644 ../io.element.Desktop.desktop -t "${pkgdir}"/usr/share/applications/
+ install -Dm755 ../${pkgname}.sh "${pkgdir}"/usr/bin/${pkgname}
+
+ # Icons
+ install -Dm644 ../riot-web-${pkgver}/res/themes/element/img/logos/element-logo.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/io.element.Desktop.svg
+ for i in 16 24 48 64 96 128 256 512; do
+ install -Dm644 build/icons/${i}x${i}.png "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/io.element.Desktop.png
+ done
+}
Deleted: element-desktop.sh
===================================================================
--- element-desktop.sh 2020-07-20 16:14:06 UTC (rev 664635)
+++ element-desktop.sh 2020-07-20 16:14:22 UTC (rev 664636)
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-electron /usr/lib/element/app.asar "$@"
Copied: element.io/repos/community-x86_64/element-desktop.sh (from rev 664635, element.io/trunk/element-desktop.sh)
===================================================================
--- element-desktop.sh (rev 0)
+++ element-desktop.sh 2020-07-20 16:14:22 UTC (rev 664636)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+electron /usr/lib/element/app.asar "$@"
Deleted: element.desktop
===================================================================
--- element.desktop 2020-07-20 16:14:06 UTC (rev 664635)
+++ element.desktop 2020-07-20 16:14:22 UTC (rev 664636)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Element
-Comment=A feature-rich client for Matrix
-Exec=/usr/bin/element-desktop %u
-Terminal=false
-Type=Application
-Icon=element
-StartupWMClass=element
-Categories=Network;InstantMessaging;Chat;IRCClient
-MimeType=x-scheme-handler/element;
Copied: element.io/repos/community-x86_64/io.element.Desktop.desktop (from rev 664635, element.io/trunk/io.element.Desktop.desktop)
===================================================================
--- io.element.Desktop.desktop (rev 0)
+++ io.element.Desktop.desktop 2020-07-20 16:14:22 UTC (rev 664636)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Element
+Comment=Feature-rich client for Matrix
+Exec=/usr/bin/element-desktop %u
+Terminal=false
+Type=Application
+Icon=io.element.Desktop
+StartupWMClass=element
+Categories=Network;InstantMessaging;Chat;IRCClient
+MimeType=x-scheme-handler/element;
More information about the arch-commits
mailing list