diff options
author | Psychi <psychi2009@gmail.com> | 2018-12-09 21:22:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-12-10 13:31:00 +0700 |
commit | cc37524e1d90dc999fbca85edd5c88f6e7c6b773 (patch) | |
tree | 6caf70dfaddab0bfc50153a66e39c708773dad91 /network/riot-web | |
parent | d32dc3395ff207f10ae2829c28cf3f2ae565222f (diff) |
network/riot-web: Updated for version 0.17.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/riot-web')
-rw-r--r-- | network/riot-web/README | 26 | ||||
-rw-r--r-- | network/riot-web/riot-web.SlackBuild | 24 | ||||
-rw-r--r-- | network/riot-web/riot-web.info | 14 | ||||
-rw-r--r-- | network/riot-web/slack-desc | 2 |
4 files changed, 43 insertions, 23 deletions
diff --git a/network/riot-web/README b/network/riot-web/README index 0072eb0d31e7..20d910bc48b8 100644 --- a/network/riot-web/README +++ b/network/riot-web/README @@ -1,17 +1,25 @@ -riot-web (Riot for Desktop) +riot-web (Riot.im for web) -Riot gathers all your conversations and app integrations into one single app. +Riot (formerly known as Vector) is a Matrix web client built using the Matrix +protocol. + +Riot gathers all your conversations and app integrations (e.g. GitHub, Slack) +into one single app. Built around group chatrooms, Riot lets you share messages, images, videos and files - interact with your tools and access all your different communities under one roof. -One single identity and place for all your teams: no need to switch accounts, -work and chat with people from different organisations in public or private rooms: -from professional projects to school trips, Riot will become the center of all -your discussions! +Another great feature of Riot/Matrix is the federated or decentralised structure. +Everyone can set up a Matrix server to serve rooms and users can communicate with +other users on other Matrix servers around the World. + +Now with end-to-end encryption using the Olm and Megolm cryptographic ratchets +, and ensuring that only explicitly authorized devices can participate in a +conversation. -Now with end-to-end encryption! You can view and verify your various devices in -the user settings page. +This is a packaging of the pre-built released version of Riot (on Github). +You should use your favourite web browser to enjoy it. Type your browser name +before before run this script: -This is a repackaging of the official binary .deb file + BROWSER=firefox ./riot-web.Slackbuild diff --git a/network/riot-web/riot-web.SlackBuild b/network/riot-web/riot-web.SlackBuild index ae93fffcbfdb..bf30a41679a2 100644 --- a/network/riot-web/riot-web.SlackBuild +++ b/network/riot-web/riot-web.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for riot-web # Copyright 2018 David O'Shaughnessy +# Copyright 2018 Psychi <psychi2009@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=riot-web -VERSION=${VERSION:-0.17.3} +PKGNAM=riot +VERSION=${VERSION:-0.17.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -32,6 +34,9 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +# which browser to launch the app. default as Firefox if not defined. +BROWSER=${BROWSER:-firefox} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -55,7 +60,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar p $CWD/${PRGNAM}_${VERSION}_$DEBARCH.deb data.tar.xz | tar xJv +tar xzvf $CWD/${PKGNAM}-v${VERSION}.tar.gz + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -63,13 +69,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# create soft link for launcher +# Move it. +mkdir -p $PKG/opt +mv ${PKGNAM}-v${VERSION} $PKG/opt/${PRGNAM} + +# Create a script to let the browser to launch the app. mkdir -p $PKG/usr/bin -ln -sf /opt/Riot/$PRGNAM $PKG/usr/bin/$PRGNAM +echo -e "#!/bin/bash +$BROWSER /opt/${PRGNAM}/index.html" \ + > $PKG/usr/bin/riot-web + +chmod a+x $PKG/usr/bin/riot-web mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/riot-web/riot-web.info b/network/riot-web/riot-web.info index 07bac1992c62..2e08839e73ac 100644 --- a/network/riot-web/riot-web.info +++ b/network/riot-web/riot-web.info @@ -1,10 +1,10 @@ PRGNAM="riot-web" -VERSION="0.17.3" +VERSION="0.17.7" HOMEPAGE="https://riot.im/" -DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/riot-web/riot-web_0.17.3_i386.deb" -MD5SUM="0a7b9a89b7d528ba60841548411f8cf1" -DOWNLOAD_x86_64="https://sourceforge.net/projects/slackbuildsdirectlinks/files/riot-web/riot-web_0.17.3_amd64.deb" -MD5SUM_x86_64="fa4d0b5b1db8888d932c83f7b4aff583" +DOWNLOAD="https://github.com/vector-im/riot-web/releases/download/v0.17.7/riot-v0.17.7.tar.gz" +MD5SUM="a37ebef0bb2c2ebb87408ca41ef377a0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David O'Shaughnessy" -EMAIL="dev@osh.id.au" +MAINTAINER="Psychi" +EMAIL="psychi2009@gmail.com" diff --git a/network/riot-web/slack-desc b/network/riot-web/slack-desc index d9fb2d3cd042..0db4eb3401b4 100644 --- a/network/riot-web/slack-desc +++ b/network/riot-web/slack-desc @@ -16,4 +16,4 @@ riot-web: people from different organisations in public or private rooms: riot-web: from professional projects to school trips, Riot will become the riot-web: center of all your discussions! riot-web: -riot-web: This is a repackaging of the official binary .deb file from riot.im +riot-web: This is a repackaging of the pre-built released version of Riot. |