aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-09-24 20:43:27 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 17:40:08 +0700
commitb4fbb8f3e59d8418729f429e046b52db8047e53f (patch)
treeb2902edecc6e62a91659e1961fdf3b3cb1438d36
parent998acc712f0a4411b724d2fcda173262ca5c205d (diff)
network/otter: Update script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--network/otter/otter.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/otter/otter.SlackBuild b/network/otter/otter.SlackBuild
index 321d9c10d7408..49ae35c95bad2 100644
--- a/network/otter/otter.SlackBuild
+++ b/network/otter/otter.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=otter-browser
PRGNAM=$(echo $SRCNAM | cut -c1-5)
VERSION=${VERSION:-1.0.01}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -87,6 +87,10 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Fix otter desktop file
+mv $PKG/usr/share/applications/otter-browser.desktop \
+ $PKG/usr/share/applications/otter.desktop
+
mkdir -p $PKG/usr/man/man1
mv $PKG/usr/share/man/man1 $PKG/usr/man
rm -rf $PKG/usr/share/man