aboutsummaryrefslogtreecommitdiff
path: root/network/riot-web/riot-web.SlackBuild
diff options
context:
space:
mode:
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