aboutsummaryrefslogtreecommitdiff
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
parent561f5311f3cdffd1f18448ee3edf1e4444dda553 (diff)
desktop/lemonbar: Updated for version 1.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--desktop/lemonbar/lemonbar.SlackBuild17
-rw-r--r--desktop/lemonbar/lemonbar.info6
2 files changed, 13 insertions, 10 deletions
diff --git a/desktop/lemonbar/lemonbar.SlackBuild b/desktop/lemonbar/lemonbar.SlackBuild
index 0f6366465ae8..e786fdd04ab6 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
diff --git a/desktop/lemonbar/lemonbar.info b/desktop/lemonbar/lemonbar.info
index 1a24f8c51c3f..681dae6424d3 100644
--- a/desktop/lemonbar/lemonbar.info
+++ b/desktop/lemonbar/lemonbar.info
@@ -1,8 +1,8 @@
PRGNAM="lemonbar"
-VERSION="1.2"
+VERSION="1.3"
HOMEPAGE="https://github.com/LemonBoy/bar"
-DOWNLOAD="https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/lemonbar/v1.2.tar.gz"
-MD5SUM="b45604e6f06b2673ae4b65ea436a960d"
+DOWNLOAD="https://github.com/LemonBoy/bar/archive/v1.3/bar-1.3.tar.gz"
+MD5SUM="af652b736193f5c21af33b8980a6d8b2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""