aboutsummaryrefslogtreecommitdiff
path: root/desktop/lemonbar/lemonbar.SlackBuild
diff options
context:
space:
mode:
authorPanagiotis Nikolaou <hostmaster@slackonly.com>2018-06-17 17:21:42 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-17 19:13:28 +0100
commitd5260b40ac3415b30dd9b54eec339e1078cb5ecf (patch)
tree2cded0935e9e3ce1acc711779913068fd42ed6be /desktop/lemonbar/lemonbar.SlackBuild
parent561f5311f3cdffd1f18448ee3edf1e4444dda553 (diff)
desktop/lemonbar: Updated for version 1.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/lemonbar/lemonbar.SlackBuild')
-rw-r--r--desktop/lemonbar/lemonbar.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/desktop/lemonbar/lemonbar.SlackBuild b/desktop/lemonbar/lemonbar.SlackBuild
index 0f6366465ae89..e786fdd04ab66 100644
--- a/desktop/lemonbar/lemonbar.SlackBuild
+++ b/desktop/lemonbar/lemonbar.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for lemonbar
# Copyright 2014-2016 John Vogel Corning, NY USA
-# Copyright 2017 Panagiotis Nikolaou, Culver City, CA
+# Copyright 2017-2018 Panagiotis Nikolaou, Culver City, CA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lemonbar
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,15 +60,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf bar-$VERSION
+tar xvf $CWD/bar-$VERSION.tar.gz
+cd bar-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
make
@@ -76,6 +76,9 @@ make doc
install -D -m 755 lemonbar $PKG/usr/bin/lemonbar
install -D -m 644 lemonbar.1 $PKG/usr/man/man1/lemonbar.1
+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
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done