aboutsummaryrefslogtreecommitdiff
path: root/network/riot-web/riot-web.SlackBuild
diff options
context:
space:
mode:
authormdrights <psychi2009@gmail.com>2018-12-20 14:16:31 +0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-20 21:00:49 +0700
commit894d1e385ad028fef7a96846bb2745065f824480 (patch)
treed11da0abfed54a1081d45a47f77c964589b086a5 /network/riot-web/riot-web.SlackBuild
parentf90fb955e7ceb755815af0eabbac2256485ca418 (diff)
network/riot-web: Updated for version 0.17.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/riot-web/riot-web.SlackBuild')
-rw-r--r--network/riot-web/riot-web.SlackBuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/network/riot-web/riot-web.SlackBuild b/network/riot-web/riot-web.SlackBuild
index bf30a41679a29..f27f945163652 100644
--- a/network/riot-web/riot-web.SlackBuild
+++ b/network/riot-web/riot-web.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=riot-web
PKGNAM=riot
-VERSION=${VERSION:-0.17.7}
+VERSION=${VERSION:-0.17.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,6 +81,17 @@ $BROWSER /opt/${PRGNAM}/index.html" \
chmod a+x $PKG/usr/bin/riot-web
+# Distribute its desktop file and its icon pics to icon dirs.
+mkdir -p $PKG/usr/share/applications/
+cp $CWD/riot-web.desktop ${PKG}/usr/share/applications/
+
+for dpi in 128 16 24 256 48 64 96 512; do
+ PNG="$PKG/usr/share/icons/hicolor/${dpi}x${dpi}/apps/"
+ mkdir -p $PNG
+ cp $CWD/riot-web.png.${dpi} ${PNG}/riot-web.png
+done
+
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild