Date: Thursday, October 4, 2018 @ 16:43:01 Author: archange Revision: 389556
archrelease: copy trunk to community-any Added: riot/repos/community-any/PKGBUILD (from rev 389555, riot/trunk/PKGBUILD) riot/repos/community-any/riot-desktop.sh (from rev 389555, riot/trunk/riot-desktop.sh) riot/repos/community-any/riot.desktop (from rev 389555, riot/trunk/riot.desktop) Deleted: riot/repos/community-any/PKGBUILD riot/repos/community-any/riot-desktop.sh riot/repos/community-any/riot.desktop -----------------+ PKGBUILD | 154 +++++++++++++++++++++++++++--------------------------- riot-desktop.sh | 6 +- riot.desktop | 18 +++--- 3 files changed, 89 insertions(+), 89 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-04 16:42:44 UTC (rev 389555) +++ PKGBUILD 2018-10-04 16:43:01 UTC (rev 389556) @@ -1,77 +0,0 @@ -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archa...@archlinux.org> -# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz> - -pkgbase=riot -pkgname=('riot-desktop' 'riot-web') -pkgver=0.16.4 -pkgrel=1 -pkgdesc="A glossy Matrix collaboration client, web and desktop versions." -arch=('any') -url="https://riot.im" -_url="https://github.com/vector-im/riot-web" -license=('Apache') -makedepends=('npm' 'git') -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") -sha256sums=('cf5d3132f9e4cc7539f239ed67a7b3949b9b0aa89dc3272f6ef4b8318ca74aac' - 'SKIP' - '043fbaa29be96f52541143e1684fd7ba33585edb215c06d1ed4e59ddc48a9fa7' - '94807ecb4210b09672d39f39b5be6f4e8fbd58e9d674c3b7ca795a6dd9c14ff7') -validpgpkeys=('6FEB6F83D48B93547E7DFEDEE019645248E8F4A1') # riot.im (Package Signing key) <packa...@riot.im> - -prepare() { - cd ${pkgbase}-web-${pkgver} - sed -i 's@https://riot.im/download/desktop/update/@null@g' electron_app/riot.im/config.json -} - -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') # @vith - replaces=('vector-web') # @vith - 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/${pkgbase}/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 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/${pkgbase}-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-any/PKGBUILD (from rev 389555, riot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-04 16:43:01 UTC (rev 389556) @@ -0,0 +1,77 @@ +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archa...@archlinux.org> +# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz> + +pkgbase=riot +pkgname=('riot-desktop' 'riot-web') +pkgver=0.16.5 +pkgrel=1 +pkgdesc="A glossy Matrix collaboration client, web and desktop versions." +arch=('any') +url="https://riot.im" +_url="https://github.com/vector-im/riot-web" +license=('Apache') +makedepends=('npm' 'git') +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") +sha256sums=('12802bd663c6f98c6a08f8021cf567f609503a94a2ba9710edcad3106fe5d444' + 'SKIP' + '043fbaa29be96f52541143e1684fd7ba33585edb215c06d1ed4e59ddc48a9fa7' + '94807ecb4210b09672d39f39b5be6f4e8fbd58e9d674c3b7ca795a6dd9c14ff7') +validpgpkeys=('6FEB6F83D48B93547E7DFEDEE019645248E8F4A1') # riot.im (Package Signing key) <packa...@riot.im> + +prepare() { + cd ${pkgbase}-web-${pkgver} + sed -i 's@https://riot.im/download/desktop/update/@null@g' electron_app/riot.im/config.json +} + +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') # @vith + replaces=('vector-web') # @vith + 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/${pkgbase}/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 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/${pkgbase}-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 2018-10-04 16:42:44 UTC (rev 389555) +++ riot-desktop.sh 2018-10-04 16:43:01 UTC (rev 389556) @@ -1,3 +0,0 @@ -#!/bin/bash - -electron /usr/lib/riot/ "$@" Copied: riot/repos/community-any/riot-desktop.sh (from rev 389555, riot/trunk/riot-desktop.sh) =================================================================== --- riot-desktop.sh (rev 0) +++ riot-desktop.sh 2018-10-04 16:43:01 UTC (rev 389556) @@ -0,0 +1,3 @@ +#!/bin/bash + +electron /usr/lib/riot/ "$@" Deleted: riot.desktop =================================================================== --- riot.desktop 2018-10-04 16:42:44 UTC (rev 389555) +++ riot.desktop 2018-10-04 16:43:01 UTC (rev 389556) @@ -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-any/riot.desktop (from rev 389555, riot/trunk/riot.desktop) =================================================================== --- riot.desktop (rev 0) +++ riot.desktop 2018-10-04 16:43:01 UTC (rev 389556) @@ -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