diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-17 19:32:40 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-21 10:22:10 +0700 |
commit | eb0aafd284b0eee46b38b91f99ed3c13af81a6c4 (patch) | |
tree | db81686ea6eec4569b1cf5ed8d9733bcfa09a4f4 /accessibility | |
parent | b11b26d22775f2dc44a0363681a918f121612e6c (diff) |
accessibility/magnus: Fix icon symlink.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/magnus/magnus.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/accessibility/magnus/magnus.SlackBuild b/accessibility/magnus/magnus.SlackBuild index fc89d1ec97f8..d96d67f7990c 100644 --- a/accessibility/magnus/magnus.SlackBuild +++ b/accessibility/magnus/magnus.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230117 bkw: BUILD=2, go ahead and include an icon instead of a symlink. + # This thing is more flexible and featureful than mag, but slower and # more resource-intensive (due to being written in python, I guess). @@ -31,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=magnus VERSION=${VERSION:-1.0.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -98,11 +100,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mv $PKG/usr/share/man $PKG/usr/man gzip -9 $PKG/usr/man/man?/* -# doesn't ship an icon, expects to uses a system icon called "zoom-best-fit". -# we have such an icon in the elementary-xfce theme, include a symlink here. +sed -i '/^Icon/s,=.*,=magnus,' $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps -ln -s ../../../elementary-xfce/actions/48/zoom-best-fit.png \ - $PKG/usr/share/icons/hicolor/48x48/apps +cat $CWD/$PRGNAM.png > $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |