summaryrefslogtreecommitdiffstats
path: root/desktop/plank/plank.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/plank/plank.SlackBuild')
-rw-r--r--desktop/plank/plank.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/plank/plank.SlackBuild b/desktop/plank/plank.SlackBuild
index bab3941eaa..caaa7ae5c1 100644
--- a/desktop/plank/plank.SlackBuild
+++ b/desktop/plank/plank.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for plank.
#
-# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=plank
VERSION=${VERSION:-0.11.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -85,6 +85,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# changing launcher to run preferences first...
+install -Dm644 $CWD/plank.desktop $PKG/usr/share/applications/plank.desktop
+
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