[arch-commits] Commit in riot/repos/community-staging-any (6 files)
Bruno Pagani
archange at archlinux.org
Tue May 14 13:53:36 UTC 2019
Date: Tuesday, May 14, 2019 @ 13:53:35
Author: archange
Revision: 467215
archrelease: copy trunk to community-staging-any
Added:
riot/repos/community-staging-any/PKGBUILD
(from rev 467214, riot/trunk/PKGBUILD)
riot/repos/community-staging-any/riot-desktop.sh
(from rev 467214, riot/trunk/riot-desktop.sh)
riot/repos/community-staging-any/riot.desktop
(from rev 467214, riot/trunk/riot.desktop)
Deleted:
riot/repos/community-staging-any/PKGBUILD
riot/repos/community-staging-any/riot-desktop.sh
riot/repos/community-staging-any/riot.desktop
-----------------+
PKGBUILD | 162 +++++++++++++++++++++++++++---------------------------
riot-desktop.sh | 6 +-
riot.desktop | 18 +++---
3 files changed, 93 insertions(+), 93 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-14 13:53:22 UTC (rev 467214)
+++ PKGBUILD 2019-05-14 13:53:35 UTC (rev 467215)
@@ -1,81 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>
-
-pkgbase=riot
-pkgname=('riot-desktop' 'riot-web')
-pkgver=1.1.0
-pkgrel=2
-pkgdesc="A glossy Matrix collaboration client, web and desktop versions."
-arch=(any)
-url="https://riot.im"
-license=(Apache)
-makedepends=(npm git yarn)
-_url="https://github.com/vector-im/riot-web"
-source=(${pkgbase}-${pkgver}.tar.gz::"${_url}/archive/v${pkgver}.tar.gz"
- ${pkgbase}-${pkgver}.tar.gz.asc::"${_url}/releases/download/v${pkgver}/v${pkgver}-src.tar.gz.asc"
- "${pkgbase}.desktop"
- "${pkgbase}-desktop.sh"
- riot-electron5.patch::'https://gist.githubusercontent.com/dbkr/e898624be6d53590ebf494521d868fec/raw/e179d672f5e12fdd5ac9a9376928362b7b8735af/electron5.patch')
-sha256sums=('d3366ffaaf4bcd198c377ec7fe76a8c380687bad0073c3435eb3792a99c392fc'
- 'SKIP'
- '043fbaa29be96f52541143e1684fd7ba33585edb215c06d1ed4e59ddc48a9fa7'
- '94807ecb4210b09672d39f39b5be6f4e8fbd58e9d674c3b7ca795a6dd9c14ff7'
- '82dd23b76a7887cb4f309955f76e7e0aafd780f9c7f20427d7d5028fff59aeda')
-validpgpkeys=(A878CDF66CF4A9B4807CEBE574692659BDA3D940) # Riot Releases <releases at riot.im>
-
-prepare() {
- cd ${pkgbase}-web-${pkgver}
- sed -i 's at https://riot.im/download/desktop/update/@null at g' electron_app/riot.im/config.json
- patch -p1 -i ../riot-electron5.patch
-}
-
-build() {
- cd ${pkgbase}-web-${pkgver}
- npm install --cache ../npm-cache
- npm run build --cache ../npm-cache
-}
-
-package_riot-web() {
- pkgdesc="A glossy Matrix collaboration client for the web."
- provides=(vector-web)
- replaces=(vector-web)
- cd ${pkgbase}-web-${pkgver}
-
- install -d "${pkgdir}"/{usr/share/webapps,etc/webapps}/${pkgbase}
-
- cp -r webapp/* "${pkgdir}"/usr/share/webapps/${pkgbase}/
- install -Dm644 config.sample.json -t "${pkgdir}"/etc/webapps/${pkgbase}/
- ln -s /etc/webapps/${pkgbase}/config.json "${pkgdir}"/usr/share/webapps/${pkgbase}/
- echo "${pkgver}" > "${pkgdir}"/usr/share/webapps/${pkgbase}/version
-}
-
-package_riot-desktop() {
- pkgdesc="A glossy Matrix collaboration client for the desktop."
- depends=(riot-web electron)
- backup=('etc/riot/config.json')
- cd ${pkgbase}-web-${pkgver}
-
- cd electron_app
- npm install --cache "${srcdir}"/npm-cache
- cd ..
-
- install -d "${pkgdir}"{/usr/lib/${pkgbase}/electron_app,/etc/webapps/${pkgbase}}
-
- ln -s /usr/share/webapps/${pkgbase} "${pkgdir}"/usr/lib/${pkgbase}/webapp
- ln -s /etc/${pkgbase}/config.json "${pkgdir}"/etc/webapps/${pkgbase}/config.json
-
- install -Dm644 package.json -t "${pkgdir}"/usr/lib/${pkgbase}/
- cp -r origin_migrator "${pkgdir}"/usr/lib/${pkgbase}/
- cp -r electron_app/src "${pkgdir}"/usr/lib/${pkgbase}/electron_app/
- cp -r electron_app/node_modules "${pkgdir}"/usr/lib/${pkgbase}/electron_app/
- install -Dm644 electron_app/img/riot.png -t "${pkgdir}"/usr/lib/${pkgbase}/electron_app/img
- install -Dm644 electron_app/riot.im/config.json -t "${pkgdir}"/etc/${pkgbase}
-
- install -Dm644 "${srcdir}"/${pkgbase}.desktop "${pkgdir}"/usr/share/applications/${pkgbase}.desktop
- install -Dm755 "${srcdir}"/${pkgname}.sh "${pkgdir}"/usr/bin/${pkgname}
-
- install -Dm644 res/themes/riot/img/logos/riot-im-logo.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/${pkgbase}.svg
- for i in 16 24 48 64 96 128 256 512; do
- install -Dm644 electron_app/build/icons/${i}x${i}.png "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/${pkgbase}.png
- done
-}
Copied: riot/repos/community-staging-any/PKGBUILD (from rev 467214, riot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-14 13:53:35 UTC (rev 467215)
@@ -0,0 +1,81 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>
+
+pkgbase=riot
+pkgname=('riot-desktop' 'riot-web')
+pkgver=1.1.1
+pkgrel=2
+pkgdesc="A glossy Matrix collaboration client, web and desktop versions."
+arch=(any)
+url="https://riot.im"
+license=(Apache)
+makedepends=(npm git yarn)
+_url="https://github.com/vector-im/riot-web"
+source=(${pkgbase}-${pkgver}.tar.gz::"${_url}/archive/v${pkgver}.tar.gz"
+ ${pkgbase}-${pkgver}.tar.gz.asc::"${_url}/releases/download/v${pkgver}/v${pkgver}-src.tar.gz.asc"
+ "${pkgbase}.desktop"
+ "${pkgbase}-desktop.sh"
+ riot-electron5.patch::'https://gist.githubusercontent.com/dbkr/e898624be6d53590ebf494521d868fec/raw/e179d672f5e12fdd5ac9a9376928362b7b8735af/electron5.patch')
+sha256sums=('6b1c32c3279303e2cb5bafaaf114d82ffc0ec357e4529242eb723260b8f11c5e'
+ 'SKIP'
+ '043fbaa29be96f52541143e1684fd7ba33585edb215c06d1ed4e59ddc48a9fa7'
+ '94807ecb4210b09672d39f39b5be6f4e8fbd58e9d674c3b7ca795a6dd9c14ff7'
+ '82dd23b76a7887cb4f309955f76e7e0aafd780f9c7f20427d7d5028fff59aeda')
+validpgpkeys=(A878CDF66CF4A9B4807CEBE574692659BDA3D940) # Riot Releases <releases at riot.im>
+
+prepare() {
+ cd ${pkgbase}-web-${pkgver}
+ sed -i 's at https://riot.im/download/desktop/update/@null at g' electron_app/riot.im/config.json
+ patch -p1 -i ../riot-electron5.patch
+}
+
+build() {
+ cd ${pkgbase}-web-${pkgver}
+ npm install --cache ../npm-cache
+ npm run build --cache ../npm-cache
+}
+
+package_riot-web() {
+ pkgdesc="A glossy Matrix collaboration client for the web."
+ provides=(vector-web)
+ replaces=(vector-web)
+ cd ${pkgbase}-web-${pkgver}
+
+ install -d "${pkgdir}"/{usr/share/webapps,etc/webapps}/${pkgbase}
+
+ cp -r webapp/* "${pkgdir}"/usr/share/webapps/${pkgbase}/
+ install -Dm644 config.sample.json -t "${pkgdir}"/etc/webapps/${pkgbase}/
+ ln -s /etc/webapps/${pkgbase}/config.json "${pkgdir}"/usr/share/webapps/${pkgbase}/
+ echo "${pkgver}" > "${pkgdir}"/usr/share/webapps/${pkgbase}/version
+}
+
+package_riot-desktop() {
+ pkgdesc="A glossy Matrix collaboration client for the desktop."
+ depends=(riot-web electron)
+ backup=('etc/riot/config.json')
+ cd ${pkgbase}-web-${pkgver}
+
+ cd electron_app
+ npm install --cache "${srcdir}"/npm-cache
+ cd ..
+
+ install -d "${pkgdir}"{/usr/lib/${pkgbase}/electron_app,/etc/webapps/${pkgbase}}
+
+ ln -s /usr/share/webapps/${pkgbase} "${pkgdir}"/usr/lib/${pkgbase}/webapp
+ ln -s /etc/${pkgbase}/config.json "${pkgdir}"/etc/webapps/${pkgbase}/config.json
+
+ install -Dm644 package.json -t "${pkgdir}"/usr/lib/${pkgbase}/
+ cp -r origin_migrator "${pkgdir}"/usr/lib/${pkgbase}/
+ cp -r electron_app/src "${pkgdir}"/usr/lib/${pkgbase}/electron_app/
+ cp -r electron_app/node_modules "${pkgdir}"/usr/lib/${pkgbase}/electron_app/
+ install -Dm644 electron_app/img/riot.png -t "${pkgdir}"/usr/lib/${pkgbase}/electron_app/img
+ install -Dm644 electron_app/riot.im/config.json -t "${pkgdir}"/etc/${pkgbase}
+
+ install -Dm644 "${srcdir}"/${pkgbase}.desktop "${pkgdir}"/usr/share/applications/${pkgbase}.desktop
+ install -Dm755 "${srcdir}"/${pkgname}.sh "${pkgdir}"/usr/bin/${pkgname}
+
+ install -Dm644 res/themes/riot/img/logos/riot-im-logo.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/${pkgbase}.svg
+ for i in 16 24 48 64 96 128 256 512; do
+ install -Dm644 electron_app/build/icons/${i}x${i}.png "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/${pkgbase}.png
+ done
+}
Deleted: riot-desktop.sh
===================================================================
--- riot-desktop.sh 2019-05-14 13:53:22 UTC (rev 467214)
+++ riot-desktop.sh 2019-05-14 13:53:35 UTC (rev 467215)
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-electron /usr/lib/riot/ "$@"
Copied: riot/repos/community-staging-any/riot-desktop.sh (from rev 467214, riot/trunk/riot-desktop.sh)
===================================================================
--- riot-desktop.sh (rev 0)
+++ riot-desktop.sh 2019-05-14 13:53:35 UTC (rev 467215)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+electron /usr/lib/riot/ "$@"
Deleted: riot.desktop
===================================================================
--- riot.desktop 2019-05-14 13:53:22 UTC (rev 467214)
+++ riot.desktop 2019-05-14 13:53:35 UTC (rev 467215)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Riot
-Comment=A feature-rich client for Matrix.org
-Exec="/usr/bin/riot-desktop"
-Terminal=false
-Type=Application
-Icon=riot
-StartupWMClass="Riot"
-Categories=Network;InstantMessaging;Chat;IRCClient
Copied: riot/repos/community-staging-any/riot.desktop (from rev 467214, riot/trunk/riot.desktop)
===================================================================
--- riot.desktop (rev 0)
+++ riot.desktop 2019-05-14 13:53:35 UTC (rev 467215)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Riot
+Comment=A feature-rich client for Matrix.org
+Exec="/usr/bin/riot-desktop"
+Terminal=false
+Type=Application
+Icon=riot
+StartupWMClass="Riot"
+Categories=Network;InstantMessaging;Chat;IRCClient
More information about the arch-commits
mailing list